summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/fsm.c1
-rw-r--r--lib/rpmdb.c1
-rw-r--r--system.h4
3 files changed, 2 insertions, 4 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index fe6b9e5a4..bfa14be53 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -5,6 +5,7 @@
#include "system.h"
+#include <utime.h>
#include <rpm/rpmte.h>
#include <rpm/rpmts.h>
#include <rpm/rpmsq.h>
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 2f84631c8..526ccecf1 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -7,6 +7,7 @@
#define _USE_COPY_LOAD /* XXX don't use DB_DBT_MALLOC (yet) */
#include <sys/file.h>
+#include <utime.h>
#ifndef DYING /* XXX already in "system.h" */
#include <fnmatch.h>
diff --git a/system.h b/system.h
index 83f358755..bb40b8d21 100644
--- a/system.h
+++ b/system.h
@@ -43,10 +43,6 @@ extern char ** environ;
# endif
#endif
-#ifdef HAVE_UTIME_H
-#include <utime.h>
-#endif
-
#ifdef HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>