]> git.pld-linux.org Git - packages/bcc.git/blob - Dev86src-errno.patch
- 0.16.12, added errno patch
[packages/bcc.git] / Dev86src-errno.patch
1 --- dev86-0.16.12/ar/ar.c.orig  2002-03-26 08:24:53.000000000 +0100
2 +++ dev86-0.16.12/ar/ar.c       2003-08-08 22:31:48.000000000 +0200
3 @@ -31,6 +31,7 @@
4  #include <sys/stat.h>
5  #include "ar.h"
6  #include "rel_aout.h"
7 +#include <errno.h>
8  
9  #ifdef __BCC__
10  #define HAVE_RENAME
11 @@ -44,8 +45,6 @@
12  #undef  HAVE_FSYNC
13  #endif
14  
15 -extern int errno;
16 -
17  #ifdef __GNUC__
18  # ifndef alloca
19  #  define      alloca  __builtin_alloca
20 @@ -67,7 +66,6 @@
21  /* Locking is normally disabled because fcntl hangs on the Sun
22     and it isn't supported properly across NFS anyway.  */
23  #ifdef LOCKS
24 -#include <errno.h>
25  #endif
26  
27  /* This structure is used internally to represent the info
This page took 0.029892 seconds and 3 git commands to generate.