From 3e6874199410925b05cb18ba88ee0d479f83a2a7 Mon Sep 17 00:00:00 2001 From: Phenom Date: Tue, 1 Sep 2015 22:49:15 +0200 Subject: [PATCH] Fix Windows compilation of libresapi with error: \libresapi\src\api\ForumHandler.cpp:108: erreur : 'u_int32_t' was not declared in this scope KeyValueReference vis_msg("visible_msg_count", grp.mMeta.mVisibleMsgCount); ^ --- libresapi/src/api/ForumHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libresapi/src/api/ForumHandler.cpp b/libresapi/src/api/ForumHandler.cpp index 6d312958f..1a3a9c5c0 100644 --- a/libresapi/src/api/ForumHandler.cpp +++ b/libresapi/src/api/ForumHandler.cpp @@ -8,6 +8,9 @@ #include "GxsResponseTask.h" #ifndef WINDOWS_SYS #include "unistd.h" +#else +#include "stdint.h" +typedef uint32_t u_int32_t; #endif namespace resource_api