blob: 6012e7eaf9586953fa0ef1c12c1b2907acff8615 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- libexslt/date.c.orig 2007-09-07 10:59:04.000000000 -0500
+++ libexslt/date.c 2007-09-07 10:59:21.000000000 -0500
@@ -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 */
#ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
#endif
|