(_POSIX_C_SOURCE): Define to 199506L to get gmtime_r (in
authorKevin Ryde <user42@zip.com.au>
Tue, 27 Apr 2004 22:43:28 +0000 (22:43 +0000)
committerKevin Ryde <user42@zip.com.au>
Tue, 27 Apr 2004 22:43:28 +0000 (22:43 +0000)
particular on HP-UX).  Reported by Andreas Vögele.

libguile/stime.c

index bf784be..568f577 100644 (file)
@@ -19,6 +19,7 @@
 \f
 
 #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>