blob: 58f62727d159a67770e965b3ee0c56c444548e5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- libannex/socket_layer.c.orig Thu Aug 4 15:58:59 1994
+++ libannex/socket_layer.c Thu Sep 18 20:10:32 2003
@@ -74,6 +74,8 @@
#include <ctype.h>
#include <errno.h>
#include <signal.h>
+#include <netdb.h>
+#include <netinet/in.h>
#include "../inc/config.h"
#include "../inc/slip/slip_user.h"
@@ -189,7 +191,7 @@
int protocol; /* IPPROTO_UDP only */
{
struct sockinf *s;
- errno_t error;
+ int error;
int i;
/* Check arguments */
@@ -260,7 +262,7 @@
{
struct sockinf *t, *u;
int port;
- errno_t error;
+ int error;
if(!(t = sockinf_bynumber(s, FALSE))) {
errno = EBADF;
@@ -300,7 +302,7 @@
{
struct sockinf *t, *u;
int port;
- errno_t error;
+ int error;
if(!(t = sockinf_bynumber(s, FALSE))) {
errno = EBADF;
|