diff options
Diffstat (limited to 'pkgtools/libnbcompat/files/nbcompat/unistd.h')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat/unistd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/unistd.h b/pkgtools/libnbcompat/files/nbcompat/unistd.h index 653722c75af..d4b50add871 100644 --- a/pkgtools/libnbcompat/files/nbcompat/unistd.h +++ b/pkgtools/libnbcompat/files/nbcompat/unistd.h @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.2 2004/08/23 03:32:13 jlam Exp $ */ +/* $NetBSD: unistd.h,v 1.3 2008/03/21 23:28:09 joerg Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -47,14 +47,18 @@ * Declare functions and macros that may be missing in <unistd.h>. */ -#if !HAVE_OPTARG_D +#if !HAVE_DECL_OPTARG extern char *optarg; #endif -#if !HAVE_OPTIND_D +#if !HAVE_DECL_OPTIND extern int optind; #endif +#if !HAVE_DECL_OPTRESET +extern int optreset; +#endif + #if !HAVE_GETPASS_D char *getpass(const char *); #endif |