pkgsrc/textproc/libxslt/patches/patch-ae

13 lines
365 B
Text
Raw Normal View History

$NetBSD: patch-ae,v 1.4 2007/08/29 23:26:45 wiz Exp $
--- libexslt/date.c.orig 2007-08-23 08:20:52.000000000 -0400
+++ libexslt/date.c
@@ -31,6 +31,7 @@
#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
#ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
+#define _POSIX_C_SOURCE 199506L /* POSIX.1c */
#endif
#endif