summaryrefslogtreecommitdiff
blob: a22514d2dea1730646271694d8a15d8e2220a7b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://bugs.gentoo.org/898234
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ if test "x$GDK_IMLIB" != x; then
 #include <glib.h>
 #include <gmodule.h>
 #include <stdlib.h>
-main ()
+int main ()
 {
     if (g_module_supported ())
         exit (0);
@@ -166,6 +166,7 @@ if test "x$enable_shm" = "xyes"; then
           #include <sys/types.h>
           #include <sys/ipc.h>
           #include <sys/shm.h>
+          #include <stdlib.h>
           int main()
           {
             int id;