From eaeadb40acc2592c33aeba912839db3caeb670d2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 23 Dec 2009 14:19:54 +0200 Subject: [PATCH] Include where needed instead of system.h - include unconditionally as we dont try to deal with utime() missing --- lib/fsm.c | 1 + lib/rpmdb.c | 1 + system.h | 4 ---- 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 #include #include #include 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 +#include #ifndef DYING /* XXX already in "system.h" */ #include 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 -#endif - #ifdef HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include