=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/unistd.h,v retrieving revision 1.44 retrieving revision 1.45 diff -c -r1.44 -r1.45 *** src/include/unistd.h 2002/10/30 20:15:29 1.44 --- src/include/unistd.h 2002/12/03 20:24:29 1.45 *************** *** 1,4 **** ! /* $OpenBSD: unistd.h,v 1.44 2002/10/30 20:15:29 millert Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: unistd.h,v 1.45 2002/12/03 20:24:29 millert Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- *************** *** 219,224 **** --- 219,226 ---- pid_t vfork(void); int issetugid(void); + #ifndef _GETOPT_DEFINED_ + #define _GETOPT_DEFINED_ int getopt(int, char * const *, const char *); extern char *optarg; /* getopt(3) external variables */ extern int opterr; *************** *** 227,232 **** --- 229,235 ---- extern int optreset; int getsubopt(char **, char * const *, char **); extern char *suboptarg; /* getsubopt(3) external variable */ + #endif /* _GETOPT_DEFINED_ */ #endif /* !_POSIX_SOURCE */ #if (!defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) && \