Fork of mbed-http

Fork of mbed-http by sandbox

Files at this revision

API Documentation at this revision

Comitter:
Jan Jongboom
Date:
Thu Feb 16 13:55:05 2017 +0100
Parent:
1:52947b0505de
Child:
3:8a6b003e3874
Commit message:
size_t is not available in ARMCC

Changed in this revision

http_parser/http_parser.h Show annotated file Show diff for this revision Revisions of this file
--- a/http_parser/http_parser.h	Thu Feb 16 11:47:08 2017 +0100
+++ b/http_parser/http_parser.h	Thu Feb 16 13:55:05 2017 +0100
@@ -29,7 +29,8 @@
 #define HTTP_PARSER_VERSION_MINOR 7
 #define HTTP_PARSER_VERSION_PATCH 1
 
-#include <sys/types.h>
+typedef unsigned int size_t;
+
 #if defined(_WIN32) && !defined(__MINGW32__) && \
   (!defined(_MSC_VER) || _MSC_VER<1600) && !defined(__WINE__)
 #include <BaseTsd.h>