diff options
Diffstat (limited to '')
-rw-r--r-- | util/ChangeLog | 5 | ||||
-rw-r--r-- | util/srv.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index 94e42cc3f..b39ca597d 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,8 @@ +2003-10-12 David Shaw <[email protected]> + + * 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 <[email protected]> * ttyio.c (tty_print_string, tty_print_utf8_string2) diff --git a/util/srv.c b/util/srv.c index 91e1b9f3a..594055776 100644 --- a/util/srv.c +++ b/util/srv.c @@ -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> |