507103ec99
switch from tcl/tk 8.4 to 8.5 take maintainership after fixing the WANTLIB finally OK, landry@, sthen@, jasper@
25 lines
695 B
Plaintext
25 lines
695 B
Plaintext
$OpenBSD: patch-exp_clib_c,v 1.1 2010/09/24 14:16:50 sebastia Exp $
|
|
|
|
Get rid of implicit declaration of function warnings
|
|
|
|
--- exp_clib.c.orig Thu Mar 11 19:06:30 2010
|
|
+++ exp_clib.c Tue Sep 14 09:24:38 2010
|
|
@@ -14,7 +14,9 @@ would appreciate credit if this program or parts of it
|
|
# include <inttypes.h>
|
|
#endif
|
|
#include <sys/types.h>
|
|
+#include <sys/wait.h>
|
|
#include <sys/ioctl.h>
|
|
+#include <unistd.h>
|
|
|
|
#ifdef TIME_WITH_SYS_TIME
|
|
# include <sys/time.h>
|
|
@@ -118,6 +120,7 @@ extern unsigned long strtoul _ANSI_ARGS_((CONST char *
|
|
|
|
#include "expect.h"
|
|
#define TclRegError exp_TclRegError
|
|
+extern void exp_init_tty (void);
|
|
|
|
/*
|
|
* regexp code - from tcl8.0.4/generic/regexp.c
|