Fix compilation mistakes from 338ee4bd7bb44 in TiVo.
This commit is contained in:
parent
da30df3350
commit
debb502ff3
@ -1212,7 +1212,7 @@ main(int argc, char **argv)
|
||||
if(sbeacon < 0)
|
||||
DPRINTF(E_FATAL, L_GENERAL, "Failed to open sockets for sending Tivo beacon notify "
|
||||
"messages. EXITING\n");
|
||||
beaconev = { .fd = sbeacon, .rdwr = EVENT_READ, .process = ProcessTiVoBeacon };
|
||||
beaconev = (struct event ){ .fd = sbeacon, .rdwr = EVENT_READ, .process = ProcessTiVoBeacon };
|
||||
event_module.add(&beaconev);
|
||||
tivo_bcast.sin_family = AF_INET;
|
||||
tivo_bcast.sin_addr.s_addr = htonl(getBcastAddress());
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "event.h"
|
||||
#include "tivo_utils.h"
|
||||
#include "upnpglobalvars.h"
|
||||
#include "upnphttp.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user