[Nel] Some Linux patches

Stefan Nilsen stefan.nilsen@telia.com
Sun, 12 Nov 2000 14:04:22 +0100


I made som fixes for compile on Linux.

This is the first time i submit a patch, so please tell me if i'm doing 
anything wrong.

Index: Makefile.am
===================================================================
RCS file: /home/cvsroot/code/nel/Makefile.am,v
retrieving revision 1.1
diff -r1.1 Makefile.am
9c9
< SUBDIRS= include src lib doc
---
> SUBDIRS= src doc
Index: src/net/base_socket.cpp
===================================================================
RCS file: /home/cvsroot/code/nel/src/net/base_socket.cpp,v
retrieving revision 1.16
diff -r1.16 base_socket.cpp
40a41,42
> #define __need_timeval
> #include <bits/time.h>
42c44
< #include <netinet/tcp/h>
---
> #include <netinet/tcp.h>
261c263
< 	int saddrlen = sizeof(saddr);
---
> 	socklen_t saddrlen = sizeof(saddr);
344c346
< 	int saddrlen = sizeof(saddr);
---
> 	socklen_t saddrlen = sizeof(saddr);
374c376
<
---
>