fix build when OMIT_MEMLOCK defined per #384

This commit is contained in:
Stephen Lombardo 2021-03-16 11:07:32 -04:00
parent 84ecc5f798
commit 20c0875533
1 changed files with 4 additions and 4 deletions

View File

@ -35,10 +35,10 @@
#include "crypto.h"
#ifndef OMIT_MEMLOCK
#if defined(__unix__) || defined(__APPLE__) || defined(_AIX)
#include <errno.h>
#include <unistd.h>
#include <sys/resource.h>
#include <sys/mman.h>
#include <errno.h> /* amalgamator: dontcache */
#include <unistd.h> /* amalgamator: dontcache */
#include <sys/resource.h> /* amalgamator: dontcache */
#include <sys/mman.h> /* amalgamator: dontcache */
#elif defined(_WIN32)
#include <windows.h>
#endif