mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Fixed windows build...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5918 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -41,6 +41,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
struct UDPWiimote::_d
|
struct UDPWiimote::_d
|
||||||
@ -307,7 +308,7 @@ void UDPWiimote::initBroadcastIPv4()
|
|||||||
}
|
}
|
||||||
|
|
||||||
int broad=1;
|
int broad=1;
|
||||||
if (setsockopt(d->bipv4_fd,SOL_SOCKET,SO_BROADCAST, &broad, sizeof broad) == -1)
|
if (setsockopt(d->bipv4_fd,SOL_SOCKET,SO_BROADCAST, (const dataz)(&broad), sizeof broad) == -1)
|
||||||
{
|
{
|
||||||
WARN_LOG(WIIMOTE,"setsockopt(SO_BROADCAST) failed");
|
WARN_LOG(WIIMOTE,"setsockopt(SO_BROADCAST) failed");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user