Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / tct / patches / patch-ap
blobfad1cefc79d45d963e99dcea7d4835aec568c663
1 $NetBSD$
3 Don't declare own errno, it doesn't work on various platforms.
5 --- src/file/file.h~    2000-07-30 19:39:20.000000000 -0400
6 +++ src/file/file.h     2010-03-07 20:09:46.000000000 -0500
7 @@ -101,8 +101,11 @@ extern void  ckfprintf             __P((FILE *, con
8  extern unsigned long signextend        __P((struct magic *, unsigned long));
9  
12 +#if 0
13  extern int errno;              /* Some unixes don't define this..      */
14 +#else
15 +#include <errno.h>
16 +#endif
18  extern char *progname;         /* the program name                     */
19  extern char *magicfile;                /* name of the magic file               */