diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | lib/rpmtypes.h | 10 | ||||
-rw-r--r-- | preinstall.am | 4 | ||||
-rw-r--r-- | rpmdb/header.h | 2 |
4 files changed, 16 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index c45d54285..284b15ea3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,6 +67,7 @@ pkginclude_HEADERS += lib/rpmps.h pkginclude_HEADERS += lib/rpmtag.h pkginclude_HEADERS += lib/rpmte.h pkginclude_HEADERS += lib/rpmts.h +pkginclude_HEADERS += lib/rpmtypes.h pkginclude_HEADERS += build/rpmbuild.h pkginclude_HEADERS += build/rpmfc.h diff --git a/lib/rpmtypes.h b/lib/rpmtypes.h new file mode 100644 index 000000000..96a17a0f7 --- /dev/null +++ b/lib/rpmtypes.h @@ -0,0 +1,10 @@ +#ifndef _RPMTYPES_H +#define _RPMTYPES_H + +/** \ingroup rpmtypes + * \file lib/rpmtypes.h + */ + +#include <rpm/rpmints.h> + +#endif /* _RPMTYPES_H */ diff --git a/preinstall.am b/preinstall.am index d1a73e083..647002810 100644 --- a/preinstall.am +++ b/preinstall.am @@ -98,6 +98,10 @@ include/rpm/rpmts.h: lib/rpmts.h include/rpm/$(dirstamp) $(INSTALL_DATA) $(top_srcdir)/lib/rpmts.h include/rpm/rpmts.h BUILT_SOURCES += include/rpm/rpmts.h CLEANFILES += include/rpm/rpmts.h +include/rpm/rpmtypes.h: lib/rpmtypes.h include/rpm/$(dirstamp) + $(INSTALL_DATA) $(top_srcdir)/lib/rpmtypes.h include/rpm/rpmtypes.h +BUILT_SOURCES += include/rpm/rpmtypes.h +CLEANFILES += include/rpm/rpmtypes.h include/rpm/rpmbuild.h: build/rpmbuild.h include/rpm/$(dirstamp) $(INSTALL_DATA) $(top_srcdir)/build/rpmbuild.h include/rpm/rpmbuild.h BUILT_SOURCES += include/rpm/rpmbuild.h diff --git a/rpmdb/header.h b/rpmdb/header.h index 975b7fb40..3f6a8e549 100644 --- a/rpmdb/header.h +++ b/rpmdb/header.h @@ -80,7 +80,7 @@ /* RPM - Copyright (C) 1995-2001 Red Hat Software */ #include <rpm/rpmio.h> -#include <rpm/rpmints.h> +#include <rpm/rpmtypes.h> #ifdef __cplusplus extern "C" { |