Browse Source

Merge pull request #1578 from tru7/pthsem

pthsem: fix signal.h include path
lilik-openwrt-22.03
Ted Hess 9 years ago
parent
commit
513297103d
2 changed files with 23 additions and 1 deletions
  1. +1
    -1
      libs/pthsem/Makefile
  2. +22
    -0
      libs/pthsem/patches/002-fix-signal.h

+ 1
- 1
libs/pthsem/Makefile 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+


+ 22
- 0
libs/pthsem/patches/002-fix-signal.h 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@

Loading…
Cancel
Save