From 57ada21a2dc1272c5c6e303dbe78a7f58482f019 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Fri, 27 Nov 2015 18:17:07 +0100 Subject: [PATCH] Include missing unistd.h header. On Linux unistd.h is needed for fsync(). The native library does not compile otherwise. --- TMessagesProj/jni/tgnet/Config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/TMessagesProj/jni/tgnet/Config.cpp b/TMessagesProj/jni/tgnet/Config.cpp index 2e86d8668..6da1995e6 100644 --- a/TMessagesProj/jni/tgnet/Config.cpp +++ b/TMessagesProj/jni/tgnet/Config.cpp @@ -7,6 +7,7 @@ */ #include +#include #include "Config.h" #include "ConnectionsManager.h" #include "FileLog.h"