1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-mgmt/annextools/files/patch-libannex::slip_layer.c
Bruce M Simpson 94886678c1 Add the Xylogics/Bay Networks/Nortel Networks Annex administration suite.
Allows the Annex to be administered from a FreeBSD host, rather than via
the console port. Tested with a MicroAnnex-XL 16 port device.

Reviewed by:	edwin
Approved by:	jake (mentor)
2003-09-25 19:49:31 +00:00

24 lines
619 B
C

--- libannex/slip_layer.c.orig Thu Aug 4 15:58:46 1994
+++ libannex/slip_layer.c Thu Sep 18 20:18:34 2003
@@ -70,6 +70,8 @@
#include "port/port.h"
#include <sys/stat.h>
#include <sys/fcntl.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#include <stdio.h>
#include <errno.h>
#include "../inc/slip/slip_user.h"
@@ -101,10 +103,7 @@
*****************************************************************************/
extern int debug;
-extern errno_t errno;
-
-extern UINT32 inet_addr();
-
+extern int errno;
/*****************************************************************************
* *