From 7f87a0180d8e0b50354dbf553d0c25f025348981 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Wed, 13 Jan 2010 13:53:45 +0000 Subject: [PATCH] Set _XOPEN_SOURCE to 600 for silencing gcc on GNU/Linux. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 2ab8ad2..8f834a1 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,8 @@ if test $ac_cv_header_endian_h = "no" -a $ac_cv_header_sys_endian_h = "no"; then AC_MSG_ERROR(["Can't locate header endian.h."]); fi +AC_DEFINE([_XOPEN_SOURCE], [600], [Define to 500 if Single Unix conformance is wanted, 600 for sixth revision.]) + CFLAGS="$CFLAGS -std=c99" # Checks for pkg-config modules.