jdk/src/solaris/transport/socket/socket_md.c
changeset 12291 1be435e23542
parent 12047 320a714614e9
child 14342 8435a30053c1
--- a/jdk/src/solaris/transport/socket/socket_md.c	Wed Mar 21 10:10:38 2012 -0700
+++ b/jdk/src/solaris/transport/socket/socket_md.c	Thu Mar 22 12:30:43 2012 +0800
@@ -35,8 +35,7 @@
 #include <sys/time.h>
 #ifdef __solaris__
 #include <thread.h>
-#endif
-#if defined(__linux__) || defined(_ALLBSD_SOURCE)
+#else
 #include <pthread.h>
 #include <sys/poll.h>
 #endif
@@ -306,9 +305,7 @@
     return r;
 }
 
-#endif
-
-#if defined(__linux__) || defined(_ALLBSD_SOURCE)
+#else
 int
 dbgsysTlsAlloc() {
     pthread_key_t key;