From 4aa078ddd9998a5338aa606322fe733ca7a5e0bc Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Tue, 22 Apr 2014 22:24:11 +0200 Subject: [PATCH] Fix testcase compile error on OS X 10.6+ Apply old fix from ticket #79 also to test code. --- tests/read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/read.c b/tests/read.c index 8190658..f51d0aa 100644 --- a/tests/read.c +++ b/tests/read.c @@ -20,7 +20,8 @@ #include #include #ifdef DARWIN -#include +#define BIND_8_COMPAT +#include #endif #include #include