1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Linux/FreeBSD: Fix build error using older compilers

This commit is contained in:
Mounir IDRASSI
2020-08-07 23:59:46 +02:00
parent e7a9898273
commit b764926bd3
2 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,11 @@
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#ifndef ERESTART
#define ERESTART EINTR
#endif
#endif #endif
#include "RandomNumberGenerator.h" #include "RandomNumberGenerator.h"

View File

@@ -18,6 +18,7 @@
#include "RandomNumberGenerator.h" #include "RandomNumberGenerator.h"
#if defined (TC_LINUX) #if defined (TC_LINUX)
#include "Platform/Unix/Process.h" #include "Platform/Unix/Process.h"
#include <errno.h>
#endif #endif
#define VC_MIN_BTRFS_VOLUME_SIZE 114294784ULL #define VC_MIN_BTRFS_VOLUME_SIZE 114294784ULL