Merge from vendor branch TNF:
[pkgsrc.git] / mail / cucipop / patches / patch-ab
1 $NetBSD$
2
3 --- xcreat.c    1998/07/21 09:33:41     1.1
4 +++ xcreat.c    1998/07/21 09:34:32
5 @@ -22,7 +22,10 @@
6  /*#define NOuname                    /* uncomment if uname is not available */
7  /*#define NOstrpbrk                /* uncomment if strpbrk is not available */
8  /*#define strchr(s,c) index(s,c)     /* uncomment if strchr is not available */
9 +#include <sys/param.h>
10 +#if !(defined(BSD) && BSD >= 199306)
11  #define const                        /* can be undefined for ANSI compilers */
12 +#endif
13  
14  #include <unistd.h>                    /* open() close() link() unlink()
15                                            getpid() */