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

This commit is contained in:
Pieter Noordhuis 2010-10-31 17:25:20 +01:00
parent 1d4f16b571
commit 6042c569b1
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -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