summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 17:25:20 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-10-31 17:25:20 +0100
commit6042c569b1b364495235a87a3988ad99e3eb4dad (patch)
treefe0facb15f98dfe838199f7243e2cfecfa0dfec3 /hiredis.h
parent1d4f16b57108734d6ab591791a8e0cae223972e6 (diff)
Move include of stdio.h to hiredis.h for size_t
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 408a766..4e174d7 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -29,7 +29,8 @@
#ifndef __HIREDIS_H
#define __HIREDIS_H
-#include <stdarg.h>
+#include <stdio.h> /* for size_t */
+#include <stdarg.h> /* for va_list */
#define REDIS_ERR -1
#define REDIS_OK 0