summaryrefslogtreecommitdiff
path: root/app-i18n/freewnn/files/freewnn-1.1.1-implicit-configure.patch
blob: a46f2f405e5d9e0b2343165d378a216c1413438e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/configure.in	2024-06-19 23:14:54.243999953 +0300
+++ b/configure.in	2024-06-19 23:15:21.253961581 +0300
@@ -549,6 +549,7 @@
 #ifdef HAVE_TERMCAP_H
 # include <termcap.h>
 #endif
+#include <stdlib.h>
 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }],
 	res="OK", res="FAIL", res="FAIL")
       if test "$res" = "OK"; then
@@ -571,6 +572,8 @@
 #ifdef HAVE_TERMCAP_H
 # include <termcap.h>
 #endif
+#include <stdlib.h>
+#include <string.h>
 main()
 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
 	[ AC_MSG_RESULT([no -- we are in termcap land])