Procházet zdrojové kódy

headers patched w/ sed -i 's:extern int errno:#include <errno.h>' linux/unistd.h fail here

Peter S. Mazinger před 18 roky
rodič
revize
520788b830
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      include/ssp-internal.h

+ 4 - 0
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);