aboutsummaryrefslogtreecommitdiffstats
path: root/builtins/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/exec.c')
-rw-r--r--builtins/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/exec.c b/builtins/exec.c
index fac53d2..88da13b 100644
--- a/builtins/exec.c
+++ b/builtins/exec.c
@@ -33,7 +33,7 @@
/* Not all systems declare ERRNO in errno.h... and some systems #define it! */
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
extern int subshell_environment;