1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net-mgmt/annextools/files/patch-erpcd::erpcd.c
Martin Wilke 85a8143a41 - Use termios.h instead of sgtty.h
PR:		120050
Submitted by:	Ed Schouten <ed@fxq.nl>
2008-02-05 13:35:26 +00:00

24 lines
497 B
C

--- erpcd/erpcd.c.orig Sat Jan 31 17:38:06 1998
+++ erpcd/erpcd.c Thu Sep 18 20:10:32 2003
@@ -36,7 +36,7 @@
#include <sys/param.h>
#include <sys/wait.h>
#include <netinet/in.h>
-#include <sgtty.h>
+#include <sys/ioctl.h>
#include <netdb.h>
#else
#include <time.h>
@@ -2108,11 +2108,7 @@
{
int savederrno = errno;
int i,j;
-#ifdef SYS_V
int status;
-#else
- union wait status;
-#endif
#ifdef SYS_V
/* decrement child_count for each status successfully returned */