* 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.
This commit is contained in:
David Shaw 2003-10-13 03:32:52 +00:00
parent bc14a878e2
commit 90bd542151
2 changed files with 6 additions and 1 deletions

View 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)

View 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>