summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 14:45:15 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 14:45:15 +0100
commita0b9f04eaa03d0629488d3ee810641c4c673a83f (patch)
treeb8abe629d81d4c36b87cd83805b622ae0eba81ec
parent44a2d08b304a8b4e9cc2e8f5be62edc7a7791af3 (diff)
Move stdarg.h include to the hiredis header file
-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