Move stdarg.h include to the hiredis header file

This commit is contained in:
Pieter Noordhuis 2010-10-31 14:45:15 +01:00
parent 44a2d08b30
commit a0b9f04eaa
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <stdarg.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -29,6 +29,7 @@
#ifndef __HIREDIS_H #ifndef __HIREDIS_H
#define __HIREDIS_H #define __HIREDIS_H
#include <stdarg.h>
#define REDIS_ERR -1 #define REDIS_ERR -1
#define REDIS_OK 0 #define REDIS_OK 0