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

This commit is contained in:
Pieter Noordhuis 2011-04-21 16:23:58 +02:00
parent 19709152f2
commit df1d693b03
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -29,6 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include "fmacros.h"
#include <string.h>
#include <stdlib.h>
#include <unistd.h>