rpmlib does the includes:
When an app includes it as #include <rpm/rpmlib.h> this does
not work correctly.
Add -I/usr/include/rpm to compilation flags.
the perl XS modules create shadow files of the files included by
rpmlib.h, so having it doing
is a major pain because the shadow files that should not be included
are actually included.
Fixed in cvs.