summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorerh <erh>2003-12-05 15:42:13 +0000
committererh <erh>2003-12-05 15:42:13 +0000
commit596d29d150a66d8dbff2aef3db41e9cf45e218c0 (patch)
tree5460008daee498947b52ca99def7cf57d45f6088 /pkgtools
parent6b286796ad1f9575fae4e18afddfbb8fdec186a3 (diff)
downloadpkgsrc-596d29d150a66d8dbff2aef3db41e9cf45e218c0.tar.gz
AIX needs getopt_long.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat/getopt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/getopt.h b/pkgtools/libnbcompat/files/nbcompat/getopt.h
index 819e4c53d27..3a73ef1bc74 100644
--- a/pkgtools/libnbcompat/files/nbcompat/getopt.h
+++ b/pkgtools/libnbcompat/files/nbcompat/getopt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt.h,v 1.1 2003/09/05 18:36:07 jlam Exp $ */
+/* $NetBSD: getopt.h,v 1.2 2003/12/05 15:42:13 erh Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
/*
* Gnu like getopt_long() and BSD4.4 getsubopt()/optreset extensions
*/
-#if (!defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(__linux__)
+#if (!defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)) || defined(__linux__) || defined(_AIX)
#define no_argument 0
#define required_argument 1
#define optional_argument 2