fix errors for windows.

* added rswin.h at the top of udpstunner.h
 * fixed up comment in tou.cc



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4298 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-06-19 10:51:01 +00:00
parent ebd9809adf
commit 9b7c0bc6a8
2 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static int tou_tick_all();
* Unfortunately, the UdpSubReceivers have different initialisation for starting a connection.
* So the TOU interface has to accomodate this.
*
* UdpSubReceive
*/
/* tou_init - opens the udp port (universal bind) */
int tou_init(void **in_udpsubrecvs, int *type, int number)
{

View File

@ -25,6 +25,10 @@
*
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif
#ifndef WINDOWS_SYS
#include <netinet/in.h>
#endif