CVS Commit: network

cvs at videolan.org cvs at videolan.org
Mon Jul 2 06:07:52 CEST 2001


Update of /cvs/videolan/network/VLANserver
Modified Files:
	Makefile 

Update of /cvs/videolan/network/VLANserver/interface
Modified Files:
	telnet.c 

Update of /cvs/videolan/network/VLANserver/server
Modified Files:
	connect.c request_handler.c send.c server.c 

Log Message:
Few changes in order to make the vlanserver compiling on Solaris

some things to be carefull:
1. bzero is in both string.h and strings.h on debian but
   it's better using strings.h as far as bzero isn't in
   string.h on Solaris

2. Try not to use h convertor in scanf (%hhu for example) gcc on solaris
   doesn't understand it.

3. errno.h should be find like #include <errno.h> no need to write 
   #include <asm/errno.h>

To compile on Solaris you have to set SYS = solaris in Makefile in order
to link with all the necessary libraries.

I didn't test it that much but it seems to work well. 

-- 
nitrox




More information about the vlcs-devel mailing list