[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/27: Unconditionally include <time.h> from Gnulib.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/27: Unconditionally include <time.h> from Gnulib. |
Date: |
Mon, 25 Jul 2016 09:53:45 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit abb0b54be8167bef2d7772697645f51f72432eaa
Author: Ludovic Courtès <address@hidden>
Date: Mon Jul 11 11:00:38 2016 +0200
Unconditionally include <time.h> from Gnulib.
* libguile/stime.c: Unconditionally include <time.h>.
---
libguile/stime.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libguile/stime.c b/libguile/stime.c
index f656d88..232ec6f 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -61,11 +61,7 @@
#include "libguile/stime.h"
#include <unistd.h>
-
-
-#ifdef HAVE_CLOCK_GETTIME
-# include <time.h>
-#endif
+#include <time.h> /* Gnulib-provided */
#include <sys/types.h>
#include <string.h>
- [Guile-commits] branch master updated (867316f -> d2684fe), Andy Wingo, 2016/07/25
- [Guile-commits] 01/27: build: Remove unneeded check for 'unsetenv'., Andy Wingo, 2016/07/25
- [Guile-commits] 02/27: Unconditionally include <time.h> from Gnulib.,
Andy Wingo <=
- [Guile-commits] 09/27: Ignore meta/build-env, Andy Wingo, 2016/07/25
- [Guile-commits] 03/27: Add missing 'const' qualifier., Andy Wingo, 2016/07/25
- [Guile-commits] 05/27: Provide `kill' only if supported by the host, Andy Wingo, 2016/07/25
- [Guile-commits] 27/27: Avoid compilation warnings about alloca in read.c, Andy Wingo, 2016/07/25
- [Guile-commits] 04/27: More robust setuid, setgid, etc detection, Andy Wingo, 2016/07/25
- [Guile-commits] 17/27: doc: Do not gender the programmer., Andy Wingo, 2016/07/25
- [Guile-commits] 24/27: Use non-deprecated HAVE_STRUCT_TM_TM_ZONE, Andy Wingo, 2016/07/25
- [Guile-commits] 07/27: More specific status:exit-val et al compilation guards, Andy Wingo, 2016/07/25
- [Guile-commits] 12/27: Add popen feature, Andy Wingo, 2016/07/25
- [Guile-commits] 10/27: Rename win32-uname.[ch] to posix-w32.[ch], Andy Wingo, 2016/07/25