From dde4910e5f25d54add887ae4d482fb52dfd0739d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 19 Feb 2010 02:38:35 -0500 Subject: Fix compilation with -std=c99. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.3