aboutsummaryrefslogtreecommitdiff
path: root/lib/base/etpm.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-04-12 10:59:33 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-04-12 10:59:33 +0200
commit9ef36b8496f187930ff526565546343e503617ab (patch)
treef0616352164ffbcb30a3d2f2a78a153757a5c8d8 /lib/base/etpm.cpp
parentcdf6f671e3089e8269ce3dd0dd20dbc4878b898a (diff)
downloadenigma2-9ef36b8496f187930ff526565546343e503617ab.tar.gz
enigma2-9ef36b8496f187930ff526565546343e503617ab.zip
lib/base/etpm.cpp: use <sys/socket.h> instead of <linux/socket.h>
Diffstat (limited to 'lib/base/etpm.cpp')
-rw-r--r--lib/base/etpm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base/etpm.cpp b/lib/base/etpm.cpp
index f1ac07ba..c2642724 100644
--- a/lib/base/etpm.cpp
+++ b/lib/base/etpm.cpp
@@ -1,4 +1,4 @@
-#include <linux/socket.h>
+#include <sys/socket.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdlib.h>
@@ -103,7 +103,7 @@ void* eTPM::recv_cmd(unsigned int *tag, unsigned int *len)
void eTPM::parse_data(const unsigned char *data, unsigned int datalen)
{
- unsigned int i, j;
+ unsigned int i;
unsigned int tag;
unsigned int len;
const unsigned char *val;