mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #1578 from tru7/pthsem
pthsem: fix signal.h include path
This commit is contained in:
@@ -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+
|
||||
|
||||
@@ -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@
|
||||
Reference in New Issue
Block a user