pkgsrc/chat/icb/patches/patch-az
christos 460bd4190f make this work on 64 bit platforms:
- fix warnings for missing prototypes
- use termios instead of sgtty (why doesn't this work on amd64?)
2008-12-17 02:19:59 +00:00

15 lines
577 B
Text

$NetBSD: patch-az,v 1.2 2008/12/17 02:19:59 christos Exp $
--- murgil/externs.h.orig 1995-02-24 16:19:40.000000000 -0500
+++ murgil/externs.h 2008-12-16 20:28:33.000000000 -0500
@@ -1,6 +1,10 @@
/* Copyright (c) 1988 Carrick Sean Casey. All rights reserved. */
/* For copying and distribution information, see the file "copyright.h." */
+#include <unistd.h>
+#include <string.h>
+#include <stdlib.h>
+
extern fd_set fdset; /* player fd set for select() */
extern fd_set ignorefds; /* fds that are not to be polled */
extern char *fail; /* failcode used by logerr */