projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in rrd_cgi RRD::TIME::LAST do not raise argc when calling rrd_last since the strftime...
[rrdtool.git]
/
src
/
rrd_client.h
diff --git
a/src/rrd_client.h
b/src/rrd_client.h
index
90b78f8
..
6c48dec
100644
(file)
--- a/
src/rrd_client.h
+++ b/
src/rrd_client.h
@@
-23,7
+23,15
@@
#define __RRD_CLIENT_H 1
#ifndef WIN32
#define __RRD_CLIENT_H 1
#ifndef WIN32
-#include <stdint.h>
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# else
+# ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+# else
+# error "you should have stdint.h or inttypes.h to compile this"
+# endif
+# endif
#else
# include <stdlib.h>
typedef signed char int8_t;
#else
# include <stdlib.h>
typedef signed char int8_t;