Include legacy compat from rpmlib.h to cover maximum ground
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Jul 2008 15:35:56 +0000 (18:35 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Jul 2008 15:54:29 +0000 (18:54 +0300)
- rpmlib.h is the first thing any old rpm api user includes so this should
  cover most cases (only if enabled)

lib/rpmlib.h

index de1f5ae..40fdcd5 100644 (file)
@@ -15,6 +15,7 @@
 #include <rpm/rpmtag.h>
 #include <rpm/rpmds.h> /* XXX move rpmlib provides to rpmds instead */
 #include <rpm/rpmpgp.h>
+#include <rpm/rpmlegacy.h> /* legacy compat definitions if enabled */
 
 #ifdef __cplusplus
 extern "C" {