Wall is not a portable cc option ... if this is to be used we would have to check
[rrdtool.git] / src / rrd_client.h
index 90b78f8..6c48dec 100644 (file)
 #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;