summaryrefslogtreecommitdiff
path: root/shells/yash/patches/patch-configure
blob: b64105e481dd2e21aa84e7662f486db7f24bdef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-configure,v 1.1 2022/11/05 16:41:14 pin Exp $

avoid implicit int. 

--- configure.orig	2022-08-23 14:03:37.000000000 +0000
+++ configure
@@ -726,7 +726,7 @@ ${confighdefs}
 #include <ncursesw/ncurses.h>
 #endif
 #include <${i%:*}>
-int putchar(int);
+#include <stdio.h>
 
 int main(void) {
 /* Undeclared identifiers are a syntax error in C99, but many compilers assume