summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-19 02:38:35 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-19 02:38:35 -0500
commitdde4910e5f25d54add887ae4d482fb52dfd0739d (patch)
tree01e833f83616cb6c8e3ad18f8aeb8b4fc8191ac2
parent018eeacaa4059df74e2745fcdadc2ad85afec985 (diff)
downloaddimension-dde4910e5f25d54add887ae4d482fb52dfd0739d.tar.xz
Fix compilation with -std=c99.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 080b171..f43dc47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,9 @@ AC_CHECK_LIB([sandglass], [sandglass_create],
[],
[AC_MSG_WARN([libsandglass not found - benchmarking suite will not work])])
+dnl Ensure compilation in C99 mode
+AC_DEFINE([_XOPEN_SOURCE], [600])
+
dnl Generate Makefiles
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile