diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-07-09 11:55:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-07-09 11:55:57 +0300 |
commit | 5e7ea3212a93eb1dcc1d4dbebcddd9daa4c0522b (patch) | |
tree | 136b7c60fcd301e62e13e674e11f8fcbc8374914 /lib/rpmlib.h | |
parent | c56ca35a5315054c044f7aee03618f93af58978f (diff) | |
download | librpm-tizen-5e7ea3212a93eb1dcc1d4dbebcddd9daa4c0522b.tar.gz librpm-tizen-5e7ea3212a93eb1dcc1d4dbebcddd9daa4c0522b.tar.bz2 librpm-tizen-5e7ea3212a93eb1dcc1d4dbebcddd9daa4c0522b.zip |
Check for _RPM_4_4_COMPAT in rpmlib.h too
- limits the chances of compat includes not working due to include order
a bit
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r-- | lib/rpmlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index 40fdcd55e..df8870e6b 100644 --- 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" { |