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