Also a missing include.

Index: imsg.h
===================================================================
RCS file: /cvs/src/lib/libutil/imsg.h,v
retrieving revision 1.1
diff -d -u -p -w imsg.h
--- imsg.h      26 May 2010 16:44:32 -0000      1.1
+++ imsg.h      23 Jun 2010 01:36:28 -0000
@@ -18,6 +18,11 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */

+#ifndef IMSG_H
+#define IMSG_H
+
+#include <sys/queue.h>
+
 #define IBUF_READ_SIZE         65535
 #define IMSG_HEADER_SIZE       sizeof(struct imsg_hdr)
 #define MAX_IMSGSIZE           16384
@@ -105,3 +110,5 @@ void         imsg_close(struct imsgbuf *, struct ibuf *);
 void    imsg_free(struct imsg *);
 int     imsg_flush(struct imsgbuf *);
 void    imsg_clear(struct imsgbuf *);
+
+#endif

Reply via email to