From 95f31774cc10f67d2f34973ae9df7b324075ce2b Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Tue, 27 Apr 2004 22:43:28 +0000 Subject: (_POSIX_C_SOURCE): Define to 199506L to get gmtime_r (in particular on HP-UX). Reported by Andreas Vögele. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libguile/stime.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3