Include sys/uio.h for struct iovec
authorMatthias Clasen <mclasen@redhat.com>
Mon, 15 Jun 2009 03:55:12 +0000 (23:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Jun 2009 03:55:12 +0000 (23:55 -0400)
This fixes the build on OS X, bug 585280.

gio/gsocket.c

index f352bf75534966c1e4bd1b03d7ddfa0507d56add..0670ee42b7907d3d9d1b59a502a953f45b235428 100644 (file)
@@ -38,6 +38,8 @@
 # include <unistd.h>
 #endif
 
+#include <sys/uio.h>
+
 #include "gsocket.h"
 #include "gcancellable.h"
 #include "gioenumtypes.h"