build: add XOPEN defines for posix2008

This commit is contained in:
Danny Robson 2015-03-24 02:43:21 +11:00
parent 93ed983a6f
commit 06c537918f

View File

@ -44,6 +44,8 @@ AC_TYPE_SSIZE_T
###############################################################################
## Platform features
AC_DEFINE([_XOPEN_SOURCE], [700], [use POSIX 2008])
AC_FUNC_MMAP
AC_CHECK_FUNC([strndup], [