$NetBSD: patch-ab,v 1.3 2006/01/08 15:12:11 joerg Exp $ --- xcreat.c.orig 1998-05-02 00:56:54.000000000 +0000 +++ xcreat.c @@ -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() */ @@ -57,8 +60,6 @@ #define irotbSERIAL (1L<