summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--hiredis.c1
2 files changed, 2 insertions, 1 deletions
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 <string.h>
#include <stdlib.h>
#include <unistd.h>