summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-11-15 16:00:42 +0000
committerjbj <devnull@localhost>2000-11-15 16:00:42 +0000
commita17b1cd86cd3e7f76a178111c591404cf9f63fd5 (patch)
tree54e8df167e963f63d8b059bc2332bff4a71fb54f /rpmio
parent5a3203d4851f69e47be2797ffa98fe97085ed6e1 (diff)
downloadrpm-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.gz
rpm-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.bz2
rpm-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.zip
- hpux w/o -D_OPEN_SOURCE has not h_errno.
CVS patchset: 4271 CVS date: 2000/11/15 16:00:42
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index 06f982228..dc83da849 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -35,7 +35,7 @@ typedef unsigned int uint32_t;
#endif /* __LCLINT__ */
-#if HAVE_HERRNO && defined(__hpux) /* XXX HP-UX w/o -D_XOPEN_SOURCE needs */
+#if !defined(HAVE_HERRNO) && defined(__hpux) /* XXX HP-UX w/o -D_XOPEN_SOURCE needs */
extern int h_errno;
#endif