summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/javascript/http_request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/javascript/http_request.h b/platform/javascript/http_request.h
index 80ff3f0ba8..06d9239004 100644
--- a/platform/javascript/http_request.h
+++ b/platform/javascript/http_request.h
@@ -34,6 +34,8 @@
extern "C" {
#endif
+#include "stddef.h"
+
typedef enum {
XHR_READY_STATE_UNSENT = 0,
XHR_READY_STATE_OPENED = 1,