summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hiredis.c1
-rw-r--r--hiredis.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.c b/hiredis.c
index 900d8d7..b70ffe3 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -31,7 +31,6 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#include <stdarg.h>
#include <assert.h>
#include <errno.h>
diff --git a/hiredis.h b/hiredis.h
index 11d9d05..408a766 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -29,6 +29,7 @@
#ifndef __HIREDIS_H
#define __HIREDIS_H
+#include <stdarg.h>
#define REDIS_ERR -1
#define REDIS_OK 0