summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_SourceFiles_storage_storage__encrypted__file__tests.cpp
blob: 4b03bc6f7726a4bcf913f0fb88b800127194ecbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Telegram/SourceFiles/storage/storage_encrypted_file_tests.cpp.orig	2019-02-01 12:51:46 UTC
+++ Telegram/SourceFiles/storage/storage_encrypted_file_tests.cpp
@@ -21,7 +21,7 @@ https://github.com/telegramdesktop/tdesktop/blob/maste
 #include <thread>
 #ifdef Q_OS_MAC
 #include <mach-o/dyld.h>
-#elif defined Q_OS_LINUX // Q_OS_MAC
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD // Q_OS_MAC
 #include <unistd.h>
 #endif // Q_OS_MAC || Q_OS_LINUX