aboutsummaryrefslogtreecommitdiffstats
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index edce31a..d1cdedf 100644
--- a/trap.c
+++ b/trap.c
@@ -52,7 +52,7 @@
#endif
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
/* Flags which describe the current handling state of a signal. */