blob: 6a98569128d0de7a28d084ebc4437ff5de2458ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
* g_initialize.c:275:5: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
* g_initialize.c:275:5: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration]
--- src/g_initialize.c
+++ src/g_initialize.c
@@ -29,6 +29,9 @@
#include "mglueP.h"
#include <stdlib.h>
+#include <unistd.h> /* getuid, geteuid */
+#include <sys/types.h> /* ditto */
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
|