Commit df1d693b authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Include fmacros.h to make sure strerror_p is defined on Linux

parent 19709152
...@@ -50,7 +50,7 @@ all: ${DYLIBNAME} ${BINS} ...@@ -50,7 +50,7 @@ all: ${DYLIBNAME} ${BINS}
net.o: net.c fmacros.h net.h hiredis.h 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 async.o: async.c async.h hiredis.h sds.h util.h dict.c dict.h
example.o: example.c hiredis.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 sds.o: sds.c sds.h
test.o: test.c hiredis.h test.o: test.c hiredis.h
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "fmacros.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment