diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-10 00:13:54 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-10 00:13:54 +0200 |
commit | fff92ff309075ed599a07a2e9378a0ed587ce073 (patch) | |
tree | 7fbb06cd73e007746184ffa2cd813c27696a85df | |
parent | 486a456d4d456f712ca9bb7b63cd58aadbaef536 (diff) | |
download | guile-fff92ff309075ed599a07a2e9378a0ed587ce073.tar.gz |
stime: Remove #ifdef HAVE_*_H for headers provided by Gnulib.
* libguile/stime.c: Remove #ifdef HAVE_SYS_TIMES_H, HAVE_SYS_TYPES_H,
and HAVE_STRING_H since those headers are always provided by Gnulib
when the corresponding macro is undefined. Fixes a regression on
MinGW introduced by commit 40e2a31.
-rw-r--r-- | libguile/stime.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libguile/stime.c b/libguile/stime.c index 7c0ed24fe..78539d9cd 100644 --- a/libguile/stime.c +++ b/libguile/stime.c @@ -68,17 +68,9 @@ # include <time.h> #endif -#ifdef HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif - -#ifdef HAVE_STRING_H +#include <sys/types.h> #include <string.h> -#endif - -#ifdef HAVE_SYS_TIMES_H -# include <sys/times.h> -#endif +#include <sys/times.h> #ifdef HAVE_SYS_TIMEB_H # include <sys/timeb.h> |