summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2003-12-05 15:41:06 +0000
committererh <erh@pkgsrc.org>2003-12-05 15:41:06 +0000
commit92da59fed3690b1f375ba1681ba05731f7419779 (patch)
treec03b5a35a16a1121da76e485bd1bde657b540b78 /pkgtools
parent45c2bb2fb947787db10b5ea48a853f5db5706703 (diff)
downloadpkgsrc-92da59fed3690b1f375ba1681ba05731f7419779.tar.gz
On AIX h_errno is a function call. Don't try to redefine it.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat.h b/pkgtools/libnbcompat/files/nbcompat.h
index 06b5617f00c..8c2e97d4a88 100644
--- a/pkgtools/libnbcompat/files/nbcompat.h
+++ b/pkgtools/libnbcompat/files/nbcompat.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nbcompat.h,v 1.26 2003/10/10 10:15:09 grant Exp $ */
+/* $NetBSD: nbcompat.h,v 1.27 2003/12/05 15:41:06 erh Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -381,8 +381,10 @@ extern int optind;
#endif
#if !HAVE_H_ERRNO_D
+#ifndef _AIX
extern int h_errno;
#endif
+#endif
#define HAVE_H_ERRNO 1 /* XXX: an assumption for now... */
#if !HAVE_FCLOSE_D