aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/signal.h')
-rw-r--r--src/lib/include/signal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/include/signal.h b/src/lib/include/signal.h
index 297db87..4b1b58f 100644
--- a/src/lib/include/signal.h
+++ b/src/lib/include/signal.h
@@ -1,8 +1,10 @@
#pragma once
-// TODO
+#include <stdatomic.h>
+
+typedef atomic_int sig_atomic_t;
-typedef int sig_atomic_t;
+// TODO
#define SIG_DFL 0 // stupid