aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-04-12 10:59:33 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-10-06 11:02:24 +0200
commitaba883a3a868d503ed7cefa5e5efb111c579be8e (patch)
tree22309ed3292982167c532ff0010492d64e31bb60 /lib
parentb451e9ca5fac13989e123d45b173cb053ee6180a (diff)
downloadenigma2-aba883a3a868d503ed7cefa5e5efb111c579be8e.tar.gz
enigma2-aba883a3a868d503ed7cefa5e5efb111c579be8e.zip
lib/base/etpm.cpp: use <sys/socket.h> instead of <linux/socket.h>
Diffstat (limited to 'lib')
-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;