summaryrefslogtreecommitdiff
path: root/misc/lile/patches/patch-aa
blob: 3952e0c257870a004124e9a285ee863abe55f54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.6 2005/11/10 18:03:21 joerg Exp $

--- ile.c.orig	1993-06-09 03:12:33.000000000 +0000
+++ ile.c
@@ -2,6 +2,7 @@
 /* Copyright message is near the bottom of the file */
 
 #include "config.h"
+#include <signal.h>
 
 /* #define DEBUG /**/
 
@@ -43,7 +44,7 @@ void setup_action_table();
 #include <stdio.h>
 #include <fcntl.h>
 #include <sgtty.h>
-#include <signal.h>
+#include <stdlib.h>
 #include <string.h>
 #include <strings.h>
 #include <pwd.h>
@@ -51,7 +52,7 @@ void setup_action_table();
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#include <sys/dir.h>
+#include <dirent.h>
 #include <sys/file.h>
 #include <sys/time.h>
 #include <sys/wait.h>
@@ -61,11 +62,6 @@ void setup_action_table();
 */
 
 /* Definitions of system stuff.  */
-extern int errno;
-
-long lseek();
-char *malloc();
-char *realloc();
 time_t time();
 
 #ifndef TRUE