1.1 --- a/src/main.c Sun Oct 18 13:41:18 2009 +0200
1.2 +++ b/src/main.c Sun Oct 18 16:51:42 2009 +0200
1.3 @@ -21,6 +21,9 @@
1.4 #include <config.h>
1.5 #endif
1.6
1.7 +#ifdef HAVE_UNISTD_H
1.8 +#include <unistd.h>
1.9 +#endif
1.10 #include <netinet/in.h>
1.11 #include <signal.h>
1.12 #include <gnome.h>
2.1 --- a/src/names.c Sun Oct 18 13:41:18 2009 +0200
2.2 +++ b/src/names.c Sun Oct 18 16:51:42 2009 +0200
2.3 @@ -18,6 +18,9 @@
2.4 */
2.5
2.6 #include <netinet/in.h>
2.7 +#ifdef HAVE_UNISTD_H
2.8 +#include <unistd.h>
2.9 +#endif
2.10 #include "globals.h"
2.11 #include "names.h"
2.12 #include "dns.h"