* srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include ordering
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 13 Oct 2003 03:32:52 +0000 (03:32 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 13 Oct 2003 03:32:52 +0000 (03:32 +0000)
issues?  Move sys/types.h up higher to work around.

util/ChangeLog
util/srv.c

index 94e42cc..b39ca59 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-12  David Shaw  <dshaw@jabberwocky.com>
+
+       * srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include
+       ordering issues?  Move sys/types.h up higher to work around.
+
 2003-10-08  Werner Koch  <wk@gnupg.org>
 
        * ttyio.c (tty_print_string, tty_print_utf8_string2)
index 91e1b9f..5940557 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <config.h>
 #ifdef USE_DNS_SRV
+#include <sys/types.h>
 #ifdef _WIN32
 #include <windows.h>
 #else
@@ -27,7 +28,6 @@
 #include <arpa/nameser.h>
 #include <resolv.h>
 #endif
-#include <sys/types.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>