OSDN Git Service

headers patched w/ sed -i 's:extern int errno:#include <errno.h>' linux/unistd.h...
authorPeter S. Mazinger <ps.m@gmx.net>
Sun, 27 Nov 2005 01:35:52 +0000 (01:35 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Sun, 27 Nov 2005 01:35:52 +0000 (01:35 -0000)
include/ssp-internal.h

index 81a83f7..cd44b4f 100644 (file)
 #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);