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 --- rpmio/rpmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmio') 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