$NetBSD: patch-ab,v 1.2 1998/08/07 11:09:31 agc Exp $ --- xcreat.c 1998/07/21 09:33:41 1.1 +++ xcreat.c 1998/07/21 09:34:32 @@ -22,7 +22,10 @@ /*#define NOuname /* uncomment if uname is not available */ /*#define NOstrpbrk /* uncomment if strpbrk is not available */ /*#define strchr(s,c) index(s,c) /* uncomment if strchr is not available */ +#include +#if !(defined(BSD) && BSD >= 199306) #define const /* can be undefined for ANSI compilers */ +#endif #include /* open() close() link() unlink() getpid() */