mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
fix including <sys/mman.h>
Make sure everybody who needs stuff from <sys/mman.h> actually includes it, and dropped the include from xf86_OSlib.h. Check for all symbols defined by Open Group spec. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1412>
This commit is contained in:
committed by
Marge Bot
parent
8ce76acddf
commit
e2fa0d2ae0
@@ -35,9 +35,7 @@ in this Software without prior written authorization from The Open Group.
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
#ifdef HAVE_MEMFD_CREATE
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
Reference in New Issue
Block a user