[Plib-cvs] plib/src/net netMessage.h,1.9,1.10 netSocket.cxx,1.24,1.25
Brought to you by:
sjbaker
|
From: M?rten Str?m. <str...@us...> - 2003-11-11 22:54:52
|
Update of /cvsroot/plib/plib/src/net
In directory sc8-pr-cvs1:/tmp/cvs-serv24486/src/net
Modified Files:
netMessage.h netSocket.cxx
Log Message:
BSD patches from Bert Driehuis
Index: netMessage.h
===================================================================
RCS file: /cvsroot/plib/plib/src/net/netMessage.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- netMessage.h 30 Nov 2002 00:41:49 -0000 1.9
+++ netMessage.h 11 Nov 2003 22:54:48 -0000 1.10
@@ -46,6 +46,10 @@
#include <netinet/in.h> // ntohs() etc prototypes
#endif
+#ifdef __FreeBSD__
+#include <arpa/inet.h>
+#endif
+
class netGuid //Globally Unique IDentifier
{
Index: netSocket.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/net/netSocket.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- netSocket.cxx 30 Nov 2002 00:41:49 -0000 1.24
+++ netSocket.cxx 11 Nov 2003 22:54:48 -0000 1.25
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <time.h>
#include <sys/time.h> /* Need both for Mandrake 8.0!! */
|