building 1.3.3 on NetBSD 1.5.x

Klaus Heinz k.heinz.nov.drei at onlinehome.de
Fri Nov 28 00:22:44 CET 2003


Hi,

building GnuPG 1.3.3 breaks on the NetBSD 1.5 branch in util/srv.c
because some types are unknown. Would it be possible to change the
order of inclusion of header files?

--- srv.c.orig  Fri Aug 29 01:29:32 2003
+++ srv.c.new   Fri Nov 28 00:05:28 2003
@@ -20,6 +20,7 @@
 
 #include <config.h>
 #ifdef USE_DNS_SRV
+#include <unistd.h>
 #ifdef _WIN32
 #include <windows.h>
 #else
@@ -28,7 +29,6 @@
 #include <resolv.h>
 #endif
 #include <sys/types.h>
-#include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>

ciao
     Klaus



More information about the Gnupg-devel mailing list