Adam Tkac 771823
diff -up bind-9.8.1rc1/lib/isc/unix/socket.c.rh735103 bind-9.8.1rc1/lib/isc/unix/socket.c
Adam Tkac 771823
--- bind-9.8.1rc1/lib/isc/unix/socket.c.rh735103	2011-07-29 04:19:20.000000000 +0200
Adam Tkac 771823
+++ bind-9.8.1rc1/lib/isc/unix/socket.c	2011-09-07 18:49:54.100215897 +0200
Adam Tkac 771823
@@ -57,6 +57,20 @@
Adam Tkac 771823
 #include <isc/util.h>
Adam Tkac 771823
 #include <isc/xml.h>
Adam Tkac 771823
 
Adam Tkac 771823
+/* See task.c about the following definition: */
Adam Tkac 771823
+#ifdef BIND9
Adam Tkac 771823
+#ifdef ISC_PLATFORM_USETHREADS
Adam Tkac 771823
+#define USE_WATCHER_THREAD
Adam Tkac 771823
+#else
Adam Tkac 771823
+#define USE_SHARED_MANAGER
Adam Tkac 771823
+#endif	/* ISC_PLATFORM_USETHREADS */
Adam Tkac 771823
+#else /* BIND9 */
Adam Tkac 771823
+#undef ISC_PLATFORM_HAVESYSUNH
Adam Tkac 771823
+#undef ISC_PLATFORM_HAVEKQUEUE
Adam Tkac 771823
+#undef ISC_PLATFORM_HAVEEPOLL
Adam Tkac 771823
+#undef ISC_PLATFORM_HAVEDEVPOLL
Adam Tkac 771823
+#endif	/* BIND9 */
Adam Tkac 771823
+
Adam Tkac 771823
 #ifdef ISC_PLATFORM_HAVESYSUNH
Adam Tkac 771823
 #include <sys/un.h>
Adam Tkac 771823
 #endif
Adam Tkac 771823
@@ -76,15 +90,6 @@
Adam Tkac 771823
 
Adam Tkac 771823
 #include "errno2result.h"
Adam Tkac 771823
 
Adam Tkac 771823
-/* See task.c about the following definition: */
Adam Tkac 771823
-#ifdef BIND9
Adam Tkac 771823
-#ifdef ISC_PLATFORM_USETHREADS
Adam Tkac 771823
-#define USE_WATCHER_THREAD
Adam Tkac 771823
-#else
Adam Tkac 771823
-#define USE_SHARED_MANAGER
Adam Tkac 771823
-#endif	/* ISC_PLATFORM_USETHREADS */
Adam Tkac 771823
-#endif	/* BIND9 */
Adam Tkac 771823
-
Adam Tkac 771823
 #ifndef USE_WATCHER_THREAD
Adam Tkac 771823
 #include "socket_p.h"
Adam Tkac 771823
 #include "../task_p.h"