diff options
-rw-r--r-- | devel/libgetopt/Makefile | 4 | ||||
-rw-r--r-- | devel/libgetopt/files/getopt.h | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile index 73d522a7e74..fb0fe847542 100644 --- a/devel/libgetopt/Makefile +++ b/devel/libgetopt/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.27 2008/02/16 23:38:42 tnn Exp $ +# $NetBSD: Makefile,v 1.28 2008/02/22 01:27:55 tnn Exp $ # -DISTNAME= libgetopt-1.4.2 +DISTNAME= libgetopt-1.4.3 CATEGORIES= pkgtools sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/libgetopt/files/getopt.h b/devel/libgetopt/files/getopt.h index 2dcd12d459f..2c79b0fefb7 100644 --- a/devel/libgetopt/files/getopt.h +++ b/devel/libgetopt/files/getopt.h @@ -1,4 +1,4 @@ -/* $NetBSD: getopt.h,v 1.4 2005/03/10 19:19:47 tv Exp $ */ +/* $NetBSD: getopt.h,v 1.5 2008/02/22 01:27:55 tnn Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -72,6 +72,12 @@ int getopt_long(int, char * const *, const char *, /* On some platforms, this is in libc, but not in a system header */ extern int optreset; +#ifdef __sgi +extern char *optarg; +extern int opterr; +extern int optind; +extern int optopt; +#endif #ifdef __cplusplus }; |