VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-04 21:47:02 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2018-04-04 21:47:02 (GMT)
commit431aae0201677409856f7bc92a1856131eea634e (patch)
tree4dd9e00ad11874639cad8e4eff0387d853bb3e89 /src/Platform
parent80fed6f7f70f27596b8d0568ae0de06087dc8b73 (diff)
downloadVeraCrypt-431aae0201677409856f7bc92a1856131eea634e.zip
VeraCrypt-431aae0201677409856f7bc92a1856131eea634e.tar.gz
FreeBSD/MacOSX: fix for missing <sys/sysmacros.h> header
Diffstat (limited to 'src/Platform')
-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 7c28af4..674b395 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
{