Skip to content

Commit

Permalink
Fix compilation mistakes from 338ee4bd7bb44 in TiVo.
Browse files Browse the repository at this point in the history
  • Loading branch information
glebius authored and Justin Maggard committed Jan 17, 2018
1 parent da30df3 commit debb502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion minidlna.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions tivo_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <time.h>
#include <sys/stat.h>

#include "event.h"
#include "tivo_utils.h"
#include "upnpglobalvars.h"
#include "upnphttp.h"
Expand Down

0 comments on commit debb502

Please sign in to comment.