summaryrefslogtreecommitdiff
path: root/app-text/namazu/files/namazu-configure.patch
blob: 02b6fcde8dc6fe8c7ed2bfba9f53e34978c10779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -165,7 +165,9 @@
 [AC_TRY_RUN(
 changequote(<<, >>)dnl
 <<
-main()
+#include <stdlib.h>
+#include <string.h>
+int main(void)
 {
   /* Some versions of memcmp are not 8-bit clean.  */
   char c0 = 0x40, c1 = 0x80, c2 = 0x81;