From 5a25a76b2dd9d52b65bddf3cc7e4556cc86b792e Mon Sep 17 00:00:00 2001 From: Timothy Stack Date: Wed, 24 Apr 2013 07:18:27 -0700 Subject: [PATCH] [build] set _BSD_SOURCE to 1 to quiet warnings --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4eb09203..7064790b 100755 --- a/configure +++ b/configure @@ -6562,7 +6562,7 @@ case "$host_os" in *) # AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread]) -$as_echo "#define _BSD_SOURCE /**/" >>confdefs.h +$as_echo "#define _BSD_SOURCE 1" >>confdefs.h ;; esac diff --git a/configure.ac b/configure.ac index 79e4ba39..79155981 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AX_LIB_SQLITE3("3.0.0") case "$host_os" in *) # AC_DEFINE([_XOPEN_SOURCE], [500], [Need pread]) - AC_DEFINE([_BSD_SOURCE], [], [Need pread]) + AC_DEFINE([_BSD_SOURCE], [1], [Need pread]) ;; esac