summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/build.c1
-rw-r--r--build/pack.c1
-rw-r--r--build/parsePrep.c1
-rw-r--r--build/rpmbuild.h1
-rw-r--r--lib/Makefile.am4
5 files changed, 5 insertions, 3 deletions
diff --git a/build/build.c b/build/build.c
index 10d5d5977..a1cea9bb4 100644
--- a/build/build.c
+++ b/build/build.c
@@ -7,6 +7,7 @@
#include <rpmio_internal.h>
#include <rpmbuild.h>
+#include "misc.h" /* XXX for makeTempFile */
#include "debug.h"
diff --git a/build/pack.c b/build/pack.c
index 981b35004..419d40ced 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -23,6 +23,7 @@
#include "legacy.h" /* XXX providePackageNVR */
#include "signature.h"
#include "rpmlead.h"
+#include "misc.h" /* XXX for makeTempFile */
#include "debug.h"
/**
diff --git a/build/parsePrep.c b/build/parsePrep.c
index d2d5d3ce4..cb99c13e2 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -7,6 +7,7 @@
#include <rpmio_internal.h>
#include <rpmbuild.h>
+#include "misc.h" /* XXX for splitString */
#include "debug.h"
/* These have to be global to make up for stupid compilers */
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index 12cf6ab82..b65380b7e 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -10,7 +10,6 @@
/* and it shouldn't need these :-( */
#include "stringbuf.h"
-#include "misc.h"
/* but this will be needed */
#include "rpmspec.h"
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 65bc122fd..f5bd77526 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -19,7 +19,7 @@ check_PROGRAMS =
pkgincdir = $(pkgincludedir)
pkginc_HEADERS = \
- idtx.h misc.h rpmcli.h rpmlib.h \
+ idtx.h rpmcli.h rpmlib.h \
rpmal.h rpmds.h rpmfi.h rpmgi.h rpmps.h rpmte.h rpmts.h \
stringbuf.h
@@ -32,7 +32,7 @@ librpm_la_SOURCES = \
rpmal.c rpmchecksig.c rpmds.c rpmfi.c rpmgi.c rpminstall.c \
rpmlead.c rpmlead.h rpmlibprov.c rpmps.c rpmrc.c rpmte.c rpmts.c \
rpmvercmp.c signature.c signature.h stringbuf.c transaction.c \
- verify.c rpmlock.c rpmlock.h
+ verify.c rpmlock.c rpmlock.h misc.h
librpm_la_LDFLAGS = -release 4.4
librpm_la_LIBADD = \