Fix compiler error, xf86Init.c: In function ‘ddxProcessArgument’: xf86Init.c:1518: warning: implicit declaration of function ‘geteuid’ xf86Init.c:1518: warning: nested extern declaration of ‘geteuid’ xf86Init.c:1518: warning: implicit declaration of function ‘getuid’ xf86Init.c:1518: warning: nested extern declaration of ‘getuid’ --- hw/xfree86/common/xf86Init.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 37380d9..27fceb4 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -37,6 +37,7 @@ #include <stdlib.h> #include <errno.h> #include <time.h> +#include <unistd.h> #undef HAS_UTSNAME #if !defined(WIN32) -- 1.6.3.1 _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg