mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
b08230512b
commit
8c57ef548e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue