This is required to make strndup(), asprintf(), and other GNU functions work. Signed-off-by: Kevin Cernekee <cernekee at gmail.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 55076b1..7da44dc 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ symver_vasprintf= symver_win32_strerror= case $host_os in - *linux* | *gnu*) + *linux* | *gnu* | *nacl*) AC_MSG_NOTICE([Applying feature macros for GNU build]) AC_DEFINE(_POSIX_C_SOURCE, 200112L, [_POSIX_C_SOURCE]) # For asprintf() -- 1.9.1