summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libgetopt/Makefile3
-rw-r--r--devel/libgetopt/files/getopt.h7
2 files changed, 8 insertions, 2 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index d34e5ff3060..95cba5b9ab8 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/12/12 17:16:27 recht Exp $
+# $NetBSD: Makefile,v 1.16 2005/02/11 17:29:06 tv Exp $
#
DISTNAME= libgetopt-${VERS}
+PKGREVISION= 1
CATEGORIES= pkgtools sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
# MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/src/lib/libc/stdlib/ \
diff --git a/devel/libgetopt/files/getopt.h b/devel/libgetopt/files/getopt.h
index 2ae669d09c6..ba0975f3d1f 100644
--- a/devel/libgetopt/files/getopt.h
+++ b/devel/libgetopt/files/getopt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt.h,v 1.2 2000/10/18 11:16:59 wiz Exp $ */
+/* $NetBSD: getopt.h,v 1.3 2005/02/11 17:29:06 tv Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -67,6 +67,11 @@ struct option {
__BEGIN_DECLS
int getopt_long __P((int, char * const *, const char *,
const struct option *, int *));
+
+#ifdef __INTERIX
+/* XXX this is in libc, but not in a system header */
+extern int optreset;
+#endif
__END_DECLS
#endif