From: Steven Dake Date: Tue, 31 Aug 2010 18:55:27 +0000 (+0000) Subject: Build properly with different versions of libc by including all posix APIs X-Git-Tag: v1.99.0~460 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3f564e2be109390237d9e1db608d83c6c9921c83;p=mirror_corosync.git Build properly with different versions of libc by including all posix APIs in header definitions. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3030 fd59a12c-fef9-0310-b244-a6a79926bd2f --- diff --git a/configure.ac b/configure.ac index fd0d9986..aed53b75 100644 --- a/configure.ac +++ b/configure.ac @@ -278,7 +278,7 @@ case "$host_os" in AC_DEFINE_UNQUOTED([COROSYNC_LINUX], [1], [Compiling for Linux platform]) OS_CFLAGS="" - OS_CPPFLAGS="" + OS_CPPFLAGS="-D_GNU_SOURCE" OS_LDFLAGS="" OS_DYFLAGS="-rdynamic" DARWIN_OPTS=""