From 750e1c41e97cd9b53da3f6a64938c528951d358b Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sat, 20 Feb 2016 13:40:01 -0500 Subject: Include what you use --- src/posix_extras.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/posix_extras.cc') diff --git a/src/posix_extras.cc b/src/posix_extras.cc index 07b459e..6013b9b 100644 --- a/src/posix_extras.cc +++ b/src/posix_extras.cc @@ -12,8 +12,7 @@ // License for the specific language governing permissions and limitations under // the License. -#define _BSD_SOURCE 1 -#define _POSIX_C_SOURCE 201502L +#define _XOPEN_SOURCE 700 #undef _GNU_SOURCE #include "posix_extras.h" @@ -21,6 +20,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3