Commit 6042c569 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Move include of stdio.h to hiredis.h for size_t

parent 1d4f16b5
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
#ifndef __HIREDIS_H #ifndef __HIREDIS_H
#define __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_ERR -1
#define REDIS_OK 0 #define REDIS_OK 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment