Include <utime.h> where needed instead of system.h

- include unconditionally as we dont try to deal with utime() missing
This commit is contained in:
Panu Matilainen 2009-12-23 14:19:54 +02:00
parent 3786b6640e
commit eaeadb40ac
3 changed files with 2 additions and 4 deletions

View File

@ -5,6 +5,7 @@
#include "system.h"
#include <utime.h>
#include <rpm/rpmte.h>
#include <rpm/rpmts.h>
#include <rpm/rpmsq.h>

View File

@ -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>

View File

@ -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>