pthsem: fix signal.h include path

Signed-off-by: Othmar Truniger <github@truniger.ch>
This commit is contained in:
Othmar Truniger 2015-07-16 21:29:19 +02:00
parent 75dca1b19e
commit fce4da5b67
2 changed files with 23 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pthsem
PKG_VERSION:=2.0.8
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
PKG_LICENSE:=LGPL-2.1+

View File

@ -0,0 +1,22 @@
--- a/pth.h.in 2015-07-16 21:14:48.786970549 +0200
+++ b/pth.h.in 2015-07-16 21:15:22.439416462 +0200
@@ -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 2015-07-16 21:14:58.948310639 +0200
+++ b/pthread.h.in 2015-07-16 21:15:40.989869061 +0200
@@ -111,7 +111,7 @@
#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@