]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Build properly with different versions of libc by including all posix APIs
authorSteven Dake <sdake@redhat.com>
Tue, 31 Aug 2010 18:55:27 +0000 (18:55 +0000)
committerSteven Dake <sdake@redhat.com>
Tue, 31 Aug 2010 18:55:27 +0000 (18:55 +0000)
in header definitions.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3030 fd59a12c-fef9-0310-b244-a6a79926bd2f

configure.ac

index fd0d9986daaa65a5d15b8432bdc6a560a67e778d..aed53b7564ca5aa7d793c4cb6753c26bf92fb4e7 100644 (file)
@@ -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=""