summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-18 23:27:45 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-18 23:27:45 -0400
commit9505bfbc40fec217820abad7142663eda60cd6be (patch)
tree9079fbd0b02052c8aae1674e213fd9be64ff6284 /include/signal.h
parent12f37cdee521da18bbc666917f70cefeb29d3db6 (diff)
downloadmusl-9505bfbc40fec217820abad7142663eda60cd6be.tar.gz
fix signal.h breakage from moving stack_t to arch-specific bits
in the previous changes, I missed the fact that both the prototype of the sigaltstack function and the definition of ucontext_t depend on stack_t.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index ab21e5c0..3fb21b2a 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -77,6 +77,8 @@ extern "C" {
#define CLD_STOPPED 5
#define CLD_CONTINUED 6
+typedef struct sigaltstack stack_t;
+
union sigval {
int sival_int;
void *sival_ptr;