summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rpmds.h2
-rw-r--r--lib/rpmts.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/rpmds.h b/lib/rpmds.h
index b14465696..6b604b6ab 100644
--- a/lib/rpmds.h
+++ b/lib/rpmds.h
@@ -6,6 +6,8 @@
* Structure(s) used for dependency tag sets.
*/
+#include <time.h>
+
#include <rpm/rpmtypes.h>
#include <rpm/rpmps.h>
diff --git a/lib/rpmts.h b/lib/rpmts.h
index 73b785d6c..f9ebb8f0a 100644
--- a/lib/rpmts.h
+++ b/lib/rpmts.h
@@ -6,6 +6,8 @@
* Structures and prototypes used for an "rpmts" transaction set.
*/
+#include <sys/types.h>
+
#include <rpm/rpmtypes.h>
#include <rpm/rpmps.h>
#include <rpm/rpmsw.h>