[libbluray-devel] [PATCH 1/3] Use POSIX 2008

Rafaël Carré funman at videolan.org
Mon Jan 2 18:46:08 CET 2012


this provides access to strdup and getline
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6005949..a9384d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CANONICAL_SYSTEM
 AM_INIT_AUTOMAKE([foreign tar-ustar])
 AM_CONFIG_HEADER(config.h)
+CFLAGS="${CFLAGS} -DPOSIX_C_SOURCE=200809L"
 
 case "${host_os}" in
   "")
-- 
1.7.7.3


More information about the libbluray-devel mailing list