summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:33:51 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:37:59 +0200
commitcd174374ffd0ee1cf5bea77905db4dbbc962aeda (patch)
tree8d04db23acccedc20ba66b108069753e984e8b30 /system.h
parent5c084f842ae21d861818a33922b5c77cb17ad8e4 (diff)
downloadrpm-cd174374ffd0ee1cf5bea77905db4dbbc962aeda.tar.gz
Remove unnecessary and broken time.h related configure + system.h checks
- the AC_HEADER_TIME check is unnecessary for any remotely recent systems, and the HAVE_SYS_TIME_H conditional in system.h is just broken as we dont even check for <sys/time.h> header in configure - dont include from system.h, the time.h and sys/time.h get already included through our public headers where necessary
Diffstat (limited to 'system.h')
-rw-r--r--system.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/system.h b/system.h
index fd92b3095..604329252 100644
--- a/system.h
+++ b/system.h
@@ -32,17 +32,6 @@ extern char ** environ;
#endif
#endif
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
#ifdef HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>