diff options
author | jbj <devnull@localhost> | 2000-11-15 16:00:42 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-11-15 16:00:42 +0000 |
commit | a17b1cd86cd3e7f76a178111c591404cf9f63fd5 (patch) | |
tree | 54e8df167e963f63d8b059bc2332bff4a71fb54f | |
parent | 5a3203d4851f69e47be2797ffa98fe97085ed6e1 (diff) | |
download | librpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.gz librpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.tar.bz2 librpm-tizen-a17b1cd86cd3e7f76a178111c591404cf9f63fd5.zip |
- hpux w/o -D_OPEN_SOURCE has not h_errno.
CVS patchset: 4271
CVS date: 2000/11/15 16:00:42
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | rpmio/rpmio.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |