+ * Always #include <sys/types.h> before <sys/socket.h> (for FreeBSD 4.6).
[adns] / regress / hsyscalls.h.m4
index 5b73680..f7b2ba7 100644 (file)
@@ -28,6 +28,7 @@ m4_include(hmacros.i4)
 #ifndef HSYSCALLS_H_INCLUDED
 #define HSYSCALLS_H_INCLUDED
 
+#include <sys/types.h>
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/uio.h>