Fix Windows compilation of libresapi with error:

\libresapi\src\api\ForumHandler.cpp:108: erreur : 'u_int32_t' was not
declared in this scope
                 KeyValueReference<u_int32_t>
vis_msg("visible_msg_count", grp.mMeta.mVisibleMsgCount);
                                   ^
This commit is contained in:
Phenom 2015-09-01 22:49:15 +02:00
parent 4006b08093
commit 3e68741994

View File

@ -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