<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">https://bugs.gentoo.org/898234
--- a/configure.in
+++ b/configure.in
@@ -62,7 +62,7 @@ if test "x$GDK_IMLIB" != x; then
 #include &lt;glib.h&gt;
 #include &lt;gmodule.h&gt;
 #include &lt;stdlib.h&gt;
-main ()
+int main ()
 {
     if (g_module_supported ())
         exit (0);
@@ -166,6 +166,7 @@ if test "x$enable_shm" = "xyes"; then
           #include &lt;sys/types.h&gt;
           #include &lt;sys/ipc.h&gt;
           #include &lt;sys/shm.h&gt;
+          #include &lt;stdlib.h&gt;
           int main()
           {
             int id;
</pre></body></html>