summaryrefslogtreecommitdiff
path: root/net-mgmt/annextools/files/patch-libannex::slip_layer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/annextools/files/patch-libannex::slip_layer.c')
-rw-r--r--net-mgmt/annextools/files/patch-libannex::slip_layer.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-mgmt/annextools/files/patch-libannex::slip_layer.c b/net-mgmt/annextools/files/patch-libannex::slip_layer.c
new file mode 100644
index 000000000000..1a9056d6b998
--- /dev/null
+++ b/net-mgmt/annextools/files/patch-libannex::slip_layer.c
@@ -0,0 +1,23 @@
+--- 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;
+
+ /*****************************************************************************
+ * *