mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Include unistd.h for getpid() when _IRR_COMPILE_WITH_X11_
This commit is contained in:
committed by
Lars Müller
parent
0fb67ccb34
commit
a677d33bdf
@@ -45,9 +45,12 @@
|
||||
#include <X11/Xcursor/Xcursor.h>
|
||||
#endif
|
||||
|
||||
#if defined(_IRR_COMPILE_WITH_X11_) || defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/joystick.h>
|
||||
|
Reference in New Issue
Block a user