From a17b1cd86cd3e7f76a178111c591404cf9f63fd5 Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 15 Nov 2000 16:00:42 +0000 Subject: - hpux w/o -D_OPEN_SOURCE has not h_errno. CVS patchset: 4271 CVS date: 2000/11/15 16:00:42 --- CHANGES | 1 + rpmio/rpmio.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1265365e4..8fe0f0952 100644 --- a/CHANGES +++ b/CHANGES @@ -32,6 +32,7 @@ - fine-grained Requires, remove install PreReq's from Requires db. - fix: duplicate headerFree() on installBinaryPackage() error return. - fix: segfault on exit of "rpm -qp --qf '%{#fsnames}' pkg" (#20595). + - hpux w/o -D_OPEN_SOURCE has not h_errno. 3.0.6 -> 4.0 - use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db. 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 -- cgit v1.2.3