aboutsummaryrefslogtreecommitdiff
path: root/libs/pthsem/patches/002-fix-signal.h
blob: 79791532f0a0518f38262e50b8aaf338c37a53e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/pth.h.in
+++ b/pth.h.in
@@ -43,7 +43,7 @@
 #include <time.h>          /* for struct timespec */
 #include <sys/time.h>      /* for struct timeval  */
 #include <sys/socket.h>    /* for sockaddr        */
-#include <sys/signal.h>    /* for sigset_t        */
+#include <signal.h>        /* for sigset_t        */
 @EXTRA_INCLUDE_SYS_SELECT_H@
 
     /* fallbacks for essential typedefs */
--- a/pthread.h.in
+++ b/pthread.h.in
@@ -111,7 +111,7 @@ typedef int __vendor_sched_param;
 #include <sys/types.h>     /* for ssize_t         */
 #include <sys/time.h>      /* for struct timeval  */
 #include <sys/socket.h>    /* for sockaddr        */
-#include <sys/signal.h>    /* for sigset_t        */
+#include <signal.h>        /* for sigset_t        */
 #include <time.h>          /* for struct timespec */
 #include <unistd.h>        /* for off_t           */
 @EXTRA_INCLUDE_SYS_SELECT_H@