From df1d693b03702bb825b1570bcd67a0bb590978d1 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 21 Apr 2011 16:23:58 +0200 Subject: Include fmacros.h to make sure strerror_p is defined on Linux --- Makefile | 2 +- hiredis.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13c12b6..8ba84e4 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ all: ${DYLIBNAME} ${BINS} net.o: net.c fmacros.h net.h hiredis.h async.o: async.c async.h hiredis.h sds.h util.h dict.c dict.h example.o: example.c hiredis.h -hiredis.o: hiredis.c hiredis.h net.h sds.h util.h +hiredis.o: hiredis.c fmacros.h hiredis.h net.h sds.h util.h sds.o: sds.c sds.h test.o: test.c hiredis.h diff --git a/hiredis.c b/hiredis.c index 877b078..b03f1d1 100644 --- a/hiredis.c +++ b/hiredis.c @@ -29,6 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "fmacros.h" #include #include #include -- cgit v1.2.3