summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-07-12 11:37:22 +0200
committerJochen Dolze <vdr@dolze.de>2010-07-12 11:37:22 +0200
commitf233276220fe3ecf89b7d69d3f6e9d09f89ced3e (patch)
tree2a1aa227cb6d71028b76123e9a69f1cc6366adfb /global.h
parent54043194a2afb962f34fd47ed304e2fe634b61b3 (diff)
downloadvdr-plugin-infosatepg-f233276220fe3ecf89b7d69d3f6e9d09f89ced3e.tar.gz
vdr-plugin-infosatepg-f233276220fe3ecf89b7d69d3f6e9d09f89ced3e.tar.bz2
Added patch for BSD from nox
Diffstat (limited to 'global.h')
-rw-r--r--global.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/global.h b/global.h
index f67dfd1..9352888 100644
--- a/global.h
+++ b/global.h
@@ -9,8 +9,10 @@
#ifndef __global_h_
#define __global_h_
+#include <sys/socket.h>
#include <netinet/if_ether.h>
#include <sys/types.h>
+#include <ctype.h>
#include <vdr/channels.h>
#include <vdr/timers.h>
@@ -162,7 +164,7 @@ public:
return directory;
}
bool SetDirectory (const char *Directory);
- bool CheckMAC (struct ethhdr *eth_hdr);
+ bool CheckMAC (ether_header *eth_hdr);
void SetWaitTimer()
{
timer=time (NULL);