diff options
-rw-r--r-- | lib/fsm.c | 1 | ||||
-rw-r--r-- | lib/rpmdb.c | 1 | ||||
-rw-r--r-- | system.h | 4 |
3 files changed, 2 insertions, 4 deletions
@@ -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> @@ -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> |