pkgsrc/misc/lile/patches/patch-aa
wiz ef18eef10d Move inclusion of signal.h before lots of random #define's, one of which
happens to be 'cr' which also appears in /usr/include/powerpc/frame.h,
which gets included via signal.h.
Fixes pkg/13064 by Lars Kellogg-Stedman.
2001-05-29 16:16:29 +00:00

37 lines
752 B
Text

$NetBSD: patch-aa,v 1.4 2001/05/29 16:16:30 wiz 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 <sys/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();