Maybe fix build on freebsd by including unistd.h

This commit is contained in:
Isaac Connor 2022-02-15 10:04:31 -05:00
parent b6d2d96d11
commit 5fd5c7fdd1
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#if ZM_MEM_MAPPED
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#else // ZM_MEM_MAPPED
#include <sys/ipc.h>
#include <sys/shm.h>