summaryrefslogtreecommitdiff
path: root/textproc/libxslt/files/patch-libexslt_date.c
blob: 39d58268a06e81b47e2352ee83e52d2fe7477a16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- libexslt/date.c.orig	Mon Jul  5 19:38:13 2004
+++ libexslt/date.c	Mon Jul  5 19:44:09 2004
@@ -28,7 +28,7 @@
 #include "config.h"
 #endif
 
-#if HAVE_LOCALTIME_R	/* _POSIX_SOURCE required by gnu libc */
+#if defined(HAVE_LOCALTIME_R) && defined(__GLIBC__)	/* _POSIX_SOURCE required by gnu libc */
 #define _POSIX_SOURCE
 #endif