Skip to content

Commit

Permalink
Include missing unistd.h header.
Browse files Browse the repository at this point in the history
On Linux unistd.h is needed for fsync().
The native library does not compile otherwise.
  • Loading branch information
Marcus Hoffmann committed Nov 27, 2015
1 parent 74def22 commit 57ada21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TMessagesProj/jni/tgnet/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <sys/stat.h>
#include <unistd.h>
#include "Config.h"
#include "ConnectionsManager.h"
#include "FileLog.h"
Expand Down

0 comments on commit 57ada21

Please sign in to comment.