diff --git a/cbits/noticehandlers.h b/cbits/noticehandlers.h
new file mode 100644
--- /dev/null
+++ b/cbits/noticehandlers.h
@@ -0,0 +1,12 @@
+#include <string.h>
+
+typedef struct PGnotice{
+  struct PGnotice * next;
+  size_t len;
+  char   str[];
+} PGnotice;
+
+typedef struct {
+  PGnotice * first;
+  PGnotice * last;
+} NoticeBuffer;
diff --git a/postgresql-libpq.cabal b/postgresql-libpq.cabal
--- a/postgresql-libpq.cabal
+++ b/postgresql-libpq.cabal
@@ -1,5 +1,5 @@
 Name:                postgresql-libpq
-Version:             0.9.1.0
+Version:             0.9.1.1
 Synopsis:            low-level binding to libpq
 
 Description:         This is a binding to libpq: the C application
@@ -18,7 +18,7 @@
                      (c) 2011 Leon P Smith
 Category:            Database
 Build-type:          Custom
--- Extra-source-files:
+Extra-source-files:  cbits/noticehandlers.h
 Cabal-version:       >=1.8
 
 -- If true,  use pkg-config,  otherwise use the pg_config based build
@@ -54,4 +54,4 @@
 source-repository this
   type:     git
   location: http://github.com/lpsmith/postgresql-libpq
-  tag:      v0.9.1.0
+  tag:      v0.9.1.1
