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:
@@ -14,6 +14,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifndef ERESTART
|
||||
#define ERESTART EINTR
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#include "RandomNumberGenerator.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "RandomNumberGenerator.h"
|
||||
#if defined (TC_LINUX)
|
||||
#include "Platform/Unix/Process.h"
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#define VC_MIN_BTRFS_VOLUME_SIZE 114294784ULL
|
||||
|
||||
Reference in New Issue
Block a user