aboutsummaryrefslogtreecommitdiffstats
path: root/util/srv.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-10-13 03:32:52 +0000
committerDavid Shaw <[email protected]>2003-10-13 03:32:52 +0000
commit90bd54215164e7ef63e2cb529e496cdc3c9ab189 (patch)
tree118609c98e83f3c3adc369c7e3747866b165ff5d /util/srv.c
parentAlways enable the gen_card_key prototype. (diff)
downloadgnupg-90bd54215164e7ef63e2cb529e496cdc3c9ab189.tar.gz
gnupg-90bd54215164e7ef63e2cb529e496cdc3c9ab189.zip
* 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.
Diffstat (limited to '')
-rw-r--r--util/srv.c2
1 files changed, 1 insertions, 1 deletions
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>