diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-27 01:35:52 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-27 01:35:52 +0000 |
commit | 520788b8301489594c27a2c113500929f422985a (patch) | |
tree | 0e38ead5d1d20d18ec7af4cff3a4ca53069a6c27 /include | |
parent | 9d083cc2534e8e2ae97e09ba8fcc21c818d68733 (diff) |
headers patched w/ sed -i 's:extern int errno:#include <errno.h>' linux/unistd.h fail here
Diffstat (limited to 'include')
-rw-r--r-- | include/ssp-internal.h | 4 |
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); |