opnsense-ports/irc/sirc/files/patch-ssfe.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
409 B
C

--- ssfe.c.orig 1998-03-10 04:55:53.000000000 -0800
+++ ssfe.c 2009-03-04 22:46:01.000000000 -0800
@@ -23,6 +23,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
+#include <string.h>
#include <errno.h>
#ifdef USE_SGTTY
@@ -106,7 +107,6 @@
int ansi_cs = 0;
fd_set ready, result;
-extern int errno;
#ifdef __GNUC__
extern unsigned char *tgoto(unsigned char *cm, int col, int line);