openbsd-ports/lang/expect/patches/patch-pty_termios_c
sebastia 507103ec99 Update expect to 5.44.1.15
switch from tcl/tk 8.4 to 8.5
take maintainership

after fixing the WANTLIB finally OK, landry@, sthen@, jasper@
2010-09-24 14:16:50 +00:00

25 lines
605 B
Plaintext

$OpenBSD: patch-pty_termios_c,v 1.1 2010/09/24 14:16:50 sebastia Exp $
Get rid of implicit declaration of function warnings
--- pty_termios.c.orig Thu Mar 11 20:06:30 2010
+++ pty_termios.c Thu Sep 9 19:27:17 2010
@@ -9,12 +9,17 @@ would appreciate credit if you use this file or parts
#include <stdio.h>
#include <signal.h>
+#include <termios.h>
+#include <util.h>
+#include <string.h>
#if defined(SIGCLD) && !defined(SIGCHLD)
#define SIGCHLD SIGCLD
#endif
#include "expect_cf.h"
+
+extern char * expErrnoMsg(int);
/*
The following functions are linked from the Tcl library. They