summaryrefslogtreecommitdiff
path: root/misc/lile/patches/patch-aa
blob: 5f2e36077e132fabc64d3902fb8d5136822c2396 (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
$NetBSD: patch-aa,v 1.5 2004/12/15 06:14:23 minskim Exp $

--- ile.c.orig	Wed Jun  9 05:12:33 1993
+++ 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,6 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <sgtty.h>
-#include <signal.h>
 #include <string.h>
 #include <strings.h>
 #include <pwd.h>
@@ -51,7 +51,7 @@
 #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>
@@ -63,7 +63,6 @@
 /* Definitions of system stuff.  */
 extern int errno;
 
-long lseek();
 char *malloc();
 char *realloc();
 time_t time();