https://bugs.gentoo.org/870706
--- a/src/makeopts.c
+++ b/src/makeopts.c
@@ -45,3 +45,3 @@
 
-main(argc, argv)
+int main(argc, argv)
 int argc;
