diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-04-21 16:23:58 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-04-21 16:24:03 +0200 |
commit | df1d693b03702bb825b1570bcd67a0bb590978d1 (patch) | |
tree | 471198d28ddbaa5a8964bf661474242205d987a4 | |
parent | 19709152f2a4d43de0d1c93b2a231f1464de3b24 (diff) |
Include fmacros.h to make sure strerror_p is defined on Linux
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | hiredis.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 @@ -29,6 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "fmacros.h" #include <string.h> #include <stdlib.h> #include <unistd.h> |