mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-22 16:09:18 -04:00
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:
parent
ebd9809adf
commit
9b7c0bc6a8
@ -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)
|
||||
{
|
||||
|
@ -25,6 +25,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef WINDOWS_SYS
|
||||
#include "util/rswin.h"
|
||||
#endif
|
||||
|
||||
#ifndef WINDOWS_SYS
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user