--- a/jdk/src/java.base/unix/native/libnio/ch/NativeThread.c Fri May 05 17:48:44 2017 +0200
+++ b/jdk/src/java.base/unix/native/libnio/ch/NativeThread.c Thu May 11 17:55:05 2017 -0700
@@ -31,24 +31,21 @@
#include "jlong.h"
#include "sun_nio_ch_NativeThread.h"
#include "nio_util.h"
+#include <signal.h>
#ifdef __linux__
#include <pthread.h>
- #include <sys/signal.h>
/* Also defined in net/linux_close.c */
#define INTERRUPT_SIGNAL (__SIGRTMAX - 2)
#elif _AIX
#include <pthread.h>
- #include <sys/signal.h>
/* Also defined in net/aix_close.c */
#define INTERRUPT_SIGNAL (SIGRTMAX - 1)
#elif __solaris__
#include <thread.h>
- #include <signal.h>
#define INTERRUPT_SIGNAL (SIGRTMAX - 2)
#elif _ALLBSD_SOURCE
#include <pthread.h>
- #include <signal.h>
/* Also defined in net/bsd_close.c */
#define INTERRUPT_SIGNAL SIGIO
#else