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