diff liboctave/lo-cutils.c @ 4290:73431774c0b7

[project @ 2003-01-05 06:30:44 by jwe]
author jwe
date Sun, 05 Jan 2003 06:30:44 +0000
parents 5a82e874999b
children 4c8a2e4e0717
line wrap: on
line diff
--- a/liboctave/lo-cutils.c
+++ b/liboctave/lo-cutils.c
@@ -32,6 +32,13 @@
 #include <config.h>
 #endif
 
+/* This gives us a better chance of finding a prototype for strptime
+   on some systems.  */
+
+#if ! defined (_XOPEN_SOURCE)
+#define _XOPEN_SOURCE
+#endif
+
 #ifdef HAVE_UNISTD_H
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>