mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-11 05:00:59 +00:00
backends: ensure unistd.h is included when compiling for apple OSes
This commit is contained in:
parent
9700eb6baf
commit
e87bcfb906
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "../../common/header/shared.h"
|
||||
|
||||
#if defined(__linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun)
|
||||
#if defined(__linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__sun) || defined(__APPLE__)
|
||||
#include <unistd.h> // readlink(), amongst others
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue