19 lines
356 B
Diff
19 lines
356 B
Diff
|
Index: zonec.c
|
||
|
===================================================================
|
||
|
--- zonec.c.orig
|
||
|
+++ zonec.c
|
||
|
@@ -20,7 +20,13 @@
|
||
|
#include <strings.h>
|
||
|
#endif
|
||
|
#include <unistd.h>
|
||
|
+#if !defined(__USE_XOPEN)
|
||
|
+#define __USE_XOPEN /* glibc2 needs this */
|
||
|
#include <time.h>
|
||
|
+#undef __USE_XOPEN
|
||
|
+#else
|
||
|
+#include <time.h>
|
||
|
+#endif
|
||
|
|
||
|
#include <netinet/in.h>
|
||
|
|