Permalink
Browse files

Define _XOPEN_SOURCE, needed to get strptime() on some platforms.

  • Loading branch information...
1 parent ddbb43a commit 04af908ca44749f771ae778a21315327b6d24135 @nelhage committed Jul 3, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 configure.ac
View
@@ -137,6 +137,8 @@ AM_CONDITIONAL([ENABLE_ZCRYPT], [test "$HAVE_DES_STRING_TO_KEY" && dnl
test "$HAVE_DES_KEY_SCHED" && dnl
test "$HAVE_DES_ECB_ENCRYPT"])
+CFLAGS="$CFLAGS -D_XOPEN_SOURCE"
+
AC_SUBST([LIBFAIM_CFLAGS])
AC_SUBST(XSUBPPDIR)

0 comments on commit 04af908

Please sign in to comment.