Commit a0fd4ad8 authored by Geoff Simmons's avatar Geoff Simmons

Don't assume GNU extensions.

parent 62130878
...@@ -14,7 +14,6 @@ AC_LANG(C) ...@@ -14,7 +14,6 @@ AC_LANG(C)
AM_INIT_AUTOMAKE([foreign]) AM_INIT_AUTOMAKE([foreign])
AC_GNU_SOURCE
AC_PROG_CC AC_PROG_CC
AC_PROG_CC_STDC AC_PROG_CC_STDC
if test "x$ac_cv_prog_cc_c99" = xno; then if test "x$ac_cv_prog_cc_c99" = xno; then
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* for strdup(), pthread_rwlock_* and getaddrinfo-related declarations */
#define _POSIX_C_SOURCE 200809L
#include "config.h" #include "config.h"
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment