summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ssp-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ssp-internal.h b/include/ssp-internal.h
index 81a83f70c..cd44b4f5d 100644
--- a/include/ssp-internal.h
+++ b/include/ssp-internal.h
@@ -21,6 +21,10 @@
#include <signal.h>
#include <linux/unistd.h>
+#ifndef errno
+extern int errno;
+#endif
+
#ifndef __SSP_QUICK_CANARY__
#define __NR___kernel_open __NR_open
static __always_inline _syscall3(int,__kernel_open,const char *,path,int,flags,__kernel_mode_t,mode);