diff options
author | Kevin Ryde <user42@zip.com.au> | 2004-04-27 22:43:28 +0000 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2004-04-27 22:43:28 +0000 |
commit | 95f31774cc10f67d2f34973ae9df7b324075ce2b (patch) | |
tree | 043b666f8fc6edee4e71b665e0ecc39310824f19 /libguile | |
parent | 857ae6afd302a7b0550a0a84d3239dddd8c90e63 (diff) | |
download | guile-95f31774cc10f67d2f34973ae9df7b324075ce2b.tar.gz |
(_POSIX_C_SOURCE): Define to 199506L to get gmtime_r (in
particular on HP-UX). Reported by Andreas Vögele.
Diffstat (limited to 'libguile')
-rw-r--r-- | libguile/stime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/stime.c b/libguile/stime.c index bf784be47..568f577c2 100644 --- a/libguile/stime.c +++ b/libguile/stime.c @@ -19,6 +19,7 @@ #define _GNU_SOURCE /* ask glibc for everything, in particular strptime */ +#define _POSIX_C_SOURCE 199506L /* for gmtime_r prototype */ #if HAVE_CONFIG_H # include <config.h> |