summaryrefslogtreecommitdiffstats
path: root/libpthread
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-02 21:59:58 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-03 18:22:50 +0100
commit5e22e71adfef5ad46119cea98fccf4ae998ad0d8 (patch)
tree5d7977ca4df6a6cc1a6621b6ca5a83f4d5228a57 /libpthread
parent8116ca7baec0ff8c9bc35a2920aa36549e6004a4 (diff)
downloaduClibc-alpine-5e22e71adfef5ad46119cea98fccf4ae998ad0d8.tar.bz2
uClibc-alpine-5e22e71adfef5ad46119cea98fccf4ae998ad0d8.tar.xz
remove ucontext.h and guard sigstack structure with SUSV4_LEGACY and STRICT_HEADERS
Remove ucontext.h if SUSV4_LEGACY is not set and fix it's references. Guard sigstack structure with SUSV4_LEGACY and STRICT_HEADERS. Disable sigstack function prototype, it is not provided by uClibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/signals.c1
-rw-r--r--libpthread/linuxthreads/signals.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/signals.c b/libpthread/linuxthreads.old/signals.c
index 2a451f3d2..23d838eb8 100644
--- a/libpthread/linuxthreads.old/signals.c
+++ b/libpthread/linuxthreads.old/signals.c
@@ -20,7 +20,6 @@
#include "pthread.h"
#include "internals.h"
#include "spinlock.h"
-#include <ucontext.h>
#include <bits/sigcontextinfo.h>
/* mods for uClibc: __libc_sigaction is not in any standard headers */
diff --git a/libpthread/linuxthreads/signals.c b/libpthread/linuxthreads/signals.c
index 02bf1c64b..c08125579 100644
--- a/libpthread/linuxthreads/signals.c
+++ b/libpthread/linuxthreads/signals.c
@@ -19,7 +19,6 @@
#include "pthread.h"
#include "internals.h"
#include "spinlock.h"
-#include <ucontext.h>
/* mods for uClibc: __libc_sigaction is not in any standard headers */
extern __typeof(sigaction) __libc_sigaction;