diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 14:19:54 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 14:19:54 +0200 |
commit | eaeadb40acc2592c33aeba912839db3caeb670d2 (patch) | |
tree | c58ba3629b02e2856369e3fc4d0e92f831d97150 /lib | |
parent | 3786b6640e11482b4573dc0cf1ffabdf5f50cbbc (diff) | |
download | librpm-tizen-eaeadb40acc2592c33aeba912839db3caeb670d2.tar.gz librpm-tizen-eaeadb40acc2592c33aeba912839db3caeb670d2.tar.bz2 librpm-tizen-eaeadb40acc2592c33aeba912839db3caeb670d2.zip |
Include <utime.h> where needed instead of system.h
- include unconditionally as we dont try to deal with utime() missing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fsm.c | 1 | ||||
-rw-r--r-- | lib/rpmdb.c | 1 |
2 files changed, 2 insertions, 0 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> |