aboutsummaryrefslogtreecommitdiffstats
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
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/ChangeLog5
-rw-r--r--util/srv.c2
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>