Use unistd.h to get getresuid() and friends.

This works since we now have _GNU_SOURCE defined.
This commit is contained in:
Tilman Sauerbeck 2007-04-07 14:42:55 +02:00
parent 0300f295bb
commit 603c2f88d4

View file

@ -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>
/************************************************************************/