projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56ca35
)
Check for _RPM_4_4_COMPAT in rpmlib.h too
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 9 Jul 2008 08:55:57 +0000
(11:55 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 9 Jul 2008 08:55:57 +0000
(11:55 +0300)
- limits the chances of compat includes not working due to include order
a bit
lib/rpmlib.h
patch
|
blob
|
history
diff --git
a/lib/rpmlib.h
b/lib/rpmlib.h
index
40fdcd5
..
df8870e
100644
(file)
--- a/
lib/rpmlib.h
+++ b/
lib/rpmlib.h
@@
-15,7
+15,9
@@
#include <rpm/rpmtag.h>
#include <rpm/rpmds.h> /* XXX move rpmlib provides to rpmds instead */
#include <rpm/rpmpgp.h>
+#ifdef _RPM_4_4_COMPAT
#include <rpm/rpmlegacy.h> /* legacy compat definitions if enabled */
+#endif
#ifdef __cplusplus
extern "C" {