VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Unix/FilesystemPath.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-04 23:47:02 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-04 23:47:02 +0200
commit431aae0201677409856f7bc92a1856131eea634e (patch)
tree4dd9e00ad11874639cad8e4eff0387d853bb3e89 /src/Platform/Unix/FilesystemPath.cpp
parent80fed6f7f70f27596b8d0568ae0de06087dc8b73 (diff)
downloadVeraCrypt-431aae0201677409856f7bc92a1856131eea634e.tar.gz
VeraCrypt-431aae0201677409856f7bc92a1856131eea634e.zip
FreeBSD/MacOSX: fix for missing <sys/sysmacros.h> header
Diffstat (limited to 'src/Platform/Unix/FilesystemPath.cpp')
-rw-r--r--src/Platform/Unix/FilesystemPath.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Platform/Unix/FilesystemPath.cpp b/src/Platform/Unix/FilesystemPath.cpp
index 7c28af40..674b395b 100644
--- a/src/Platform/Unix/FilesystemPath.cpp
+++ b/src/Platform/Unix/FilesystemPath.cpp
@@ -15,7 +15,9 @@
#include "Platform/StringConverter.h"
#include <stdio.h>
#include <sys/stat.h>
+#if !defined(__FreeBSD__) && !defined(__APPLE__)
#include <sys/sysmacros.h>
+#endif
namespace VeraCrypt
{