https://bugs.gentoo.org/898234 --- a/configure.in +++ b/configure.in @@ -62,7 +62,7 @@ if test "x$GDK_IMLIB" != x; then #include #include #include -main () +int main () { if (g_module_supported ()) exit (0); @@ -166,6 +166,7 @@ if test "x$enable_shm" = "xyes"; then #include #include #include + #include int main() { int id;