Permalink
Browse files

bugfix: microsoft C compilers complained about missing declarations o…

…f the type int8_t. now we explicitly include stdint.h. thanks runner-mei for reporting this issue in github issue #3.
  • Loading branch information...
agentzh committed Apr 7, 2012
1 parent 3397cd4 commit 509fbf1ea01e5abccc7096d85984f4a5b06c1ed6
View
@@ -11,6 +11,7 @@
#include <nginx.h>
#include <ngx_core.h>
#include <ngx_http.h>
+#include <stdint.h>
typedef struct {
@@ -11,6 +11,7 @@
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
+#include <stdint.h>
#ifndef NGX_HTTP_RESET_CONTENT
@@ -8,8 +8,8 @@
#endif
#include "ddebug.h"
-#include "ngx_http_rds_json_processor.h"
#include "ngx_http_rds_json_util.h"
+#include "ngx_http_rds_json_processor.h"
#include "ngx_http_rds_json_output.h"
#include "ngx_http_rds.h"
#include "ngx_http_rds_utils.h"
@@ -3,6 +3,9 @@
#include <ngx_core.h>
#include <ngx_http.h>
+#include <nginx.h>
+#include <stdint.h>
+
#ifndef NGX_UINT64_LEN
#define NGX_UINT64_LEN (sizeof("18446744073709551615") - 1)

0 comments on commit 509fbf1

Please sign in to comment.