projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regex: reject repetitions in some cases with REG_BADRPT
[oweals/musl.git]
/
include
/
ucontext.h
diff --git
a/include/ucontext.h
b/include/ucontext.h
index 1121761626b65c41977e51473991273abb0670fe..3bb776ed6a86969a530a558ff81506cfc7ccbb4b 100644
(file)
--- a/
include/ucontext.h
+++ b/
include/ucontext.h
@@
-4,10
+4,12
@@
extern "C" {
#endif
+#include <features.h>
+
#include <signal.h>
-#if
def _GNU_SOURCE
-#define
ucontext __ucontext
+#if
defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+#define
NGREG (sizeof(gregset_t)/sizeof(greg_t))
#endif
struct __ucontext;