]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
linux patch by Wil
authorMerlokbr@gmail.com <Merlokbr@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 7 Jun 2011 14:30:07 +0000 (14:30 +0000)
committerMerlokbr@gmail.com <Merlokbr@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 7 Jun 2011 14:30:07 +0000 (14:30 +0000)
http://www.proxmark.org/forum/profile.php?id=1639

client/mifarehost.c
client/mifarehost.h
client/util.c
include/common.h

index aab1ae3334e30ea03515fb57d7153cf346034bbe..c6f2fe3fa248a7ebded551448addb14d975b2d74 100644 (file)
@@ -9,7 +9,7 @@
 //-----------------------------------------------------------------------------\r
 \r
 #include <stdio.h>\r
-#include <stdlib.h>\r
+#include <stdlib.h> \r
 #include "mifarehost.h"\r
 \r
 \r
index ec1117e831a9cdd5856d55959754203ab3b53d3e..728dc6cc9f6220d658552543058fb2d06df7b785 100644 (file)
@@ -11,7 +11,6 @@
 #include <stdio.h>\r
 #include <stdlib.h>\r
 #include <unistd.h>\r
-#include <conio.h>\r
 #include "common.h"\r
 #include "cmdmain.h"\r
 #include "ui.h"\r
index 8e7ef01b10d63d37f4beb75bfeaba10baaafa246..6825d721d4622d9f383f79a6ac6ebe21984c2fea 100644 (file)
@@ -15,6 +15,8 @@
 #include "util.h"
 
 #ifdef __linux__
+#include <termios.h>
+#include <sys/ioctl.h> 
 int ukbhit(void)
 {
   int cnt = 0;
index eb519f63da05852f8df51ffd7b962368b6d2256b..fd1a6a56cb115ac4bfff730d5067e28d1cdf7f3b 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef __COMMON_H
 #define __COMMON_H
 
+#include <stdint.h>
+
 //-----------------------------------------------------------------------------
 // ISO 14443A
 //-----------------------------------------------------------------------------
Impressum, Datenschutz