mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-09 09:38:15 +02:00
Use unistd.h to get getresuid() and friends.
This works since we now have _GNU_SOURCE defined.
This commit is contained in:
parent
0300f295bb
commit
603c2f88d4
1 changed files with 1 additions and 5 deletions
|
|
@ -34,11 +34,7 @@
|
|||
#include "Xlibint.h"
|
||||
#include "XlcPubI.h"
|
||||
#include <X11/Xos.h>
|
||||
#if 0
|
||||
#include <unistd.h> /* in theory delivers getresuid/gid prototypes,
|
||||
* in practice only the Linux syscall wrapper is there. */
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
/************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue