From cbd5835112b74dbe5f080535a62b686a85d26659 Mon Sep 17 00:00:00 2001 From: Dmitry Frank Date: Fri, 2 Dec 2016 17:56:36 +0200 Subject: [PATCH] Include sys/types.h for PIC32 port On PIC32MZ, this is required to get `ntohl` and friends. PUBLISHED_FROM=82ab532cd3757df6f79215f3eaca90cd87f6c965 --- mongoose.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mongoose.h b/mongoose.h index 2ed8fdb6..9b8b98b8 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1432,6 +1432,8 @@ typedef struct stat cs_stat_t; #include #include +#include + typedef TCP_SOCKET sock_t; #define to64(x) strtoll(x, NULL, 10)