#include "system.h"
#include <rpm/rpmtypes.h>
-#define _RPM_4_4_COMPAT
-#include <rpm/rpmlegacy.h>
-#undef _RPM_4_4_COMPAT
#include "lib/header_internal.h"
#include "debug.h"
* Backwards compatibility wrappers for legacy interfaces.
* Remove these some day...
*/
+#define _RPM_4_4_COMPAT
+#include <rpm/rpmlegacy.h>
/* dumb macro to avoid 50 copies of this code while converting... */
#define TDWRAP() \
{
return headerPutWrap(h, tag, type, p, c, HEADERPUT_DEFAULT);
}
+#undef _RPM_4_4_COMPAT