summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgrant <grant>2003-09-06 04:28:16 +0000
committergrant <grant>2003-09-06 04:28:16 +0000
commit3438493538c716bca0ebb3774e8ae1691aa33ad8 (patch)
tree9e6cadb6cdf881ea6bc01a9271e67a33b903de3b /pkgtools
parent55b1a717b4db2e0bbd2a6ae47b3c61950e16ac60 (diff)
downloadpkgsrc-3438493538c716bca0ebb3774e8ae1691aa33ad8.tar.gz
fix missing include of getopt.h by including nbcompat.h.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/getopt_long.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/getopt_long.c b/pkgtools/libnbcompat/files/getopt_long.c
index 4775517dd2a..c169d433f55 100644
--- a/pkgtools/libnbcompat/files/getopt_long.c
+++ b/pkgtools/libnbcompat/files/getopt_long.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt_long.c,v 1.4 2003/09/03 13:11:14 jlam Exp $ */
+/* $NetBSD: getopt_long.c,v 1.5 2003/09/06 04:28:16 grant Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -40,12 +40,14 @@
#include "nbcompat/nbconfig.h"
#endif
+#include "nbcompat.h"
+
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getopt_long.c,v 1.4 2003/09/03 13:11:14 jlam Exp $");
+__RCSID("$NetBSD: getopt_long.c,v 1.5 2003/09/06 04:28:16 grant Exp $");
#endif /* LIBC_SCCS and not lint */
/* #include "namespace.h" */
@@ -57,7 +59,6 @@ __RCSID("$NetBSD: getopt_long.c,v 1.4 2003/09/03 13:11:14 jlam Exp $");
#endif
#include <errno.h>
-#include <getopt.h>
#include <stdlib.h>
#include <string.h>