summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-23 14:19:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-23 14:19:54 +0200
commiteaeadb40acc2592c33aeba912839db3caeb670d2 (patch)
treec58ba3629b02e2856369e3fc4d0e92f831d97150 /lib
parent3786b6640e11482b4573dc0cf1ffabdf5f50cbbc (diff)
downloadlibrpm-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.c1
-rw-r--r--lib/rpmdb.c1
2 files changed, 2 insertions, 0 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>