oping.h: #include <sys/types.h> so that `size_t' is defined.
authorAlex Brooks <a.brooks@acfr.usyd.edu.au>
Tue, 27 Mar 2007 09:11:31 +0000 (11:11 +0200)
committerFlorian Forster <octo@verplant.org>
Tue, 27 Mar 2007 09:11:31 +0000 (11:11 +0200)
src/oping.h

index 061aa5d..c013a50 100644 (file)
@@ -30,6 +30,9 @@
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
 #if HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
 #endif