From: Merlokbr@gmail.com Date: Tue, 7 Jun 2011 14:30:07 +0000 (+0000) Subject: linux patch by Wil X-Git-Tag: v1.0.0~257 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/873014de8a4be0f68524531cc90fe6c1dfdffded linux patch by Wil http://www.proxmark.org/forum/profile.php?id=1639 --- diff --git a/client/mifarehost.c b/client/mifarehost.c index aab1ae33..c6f2fe3f 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -9,7 +9,7 @@ //----------------------------------------------------------------------------- #include -#include +#include #include "mifarehost.h" diff --git a/client/mifarehost.h b/client/mifarehost.h index ec1117e8..728dc6cc 100644 --- a/client/mifarehost.h +++ b/client/mifarehost.h @@ -11,7 +11,6 @@ #include #include #include -#include #include "common.h" #include "cmdmain.h" #include "ui.h" diff --git a/client/util.c b/client/util.c index 8e7ef01b..6825d721 100644 --- a/client/util.c +++ b/client/util.c @@ -15,6 +15,8 @@ #include "util.h" #ifdef __linux__ +#include +#include int ukbhit(void) { int cnt = 0; diff --git a/include/common.h b/include/common.h index eb519f63..fd1a6a56 100644 --- a/include/common.h +++ b/include/common.h @@ -12,6 +12,8 @@ #ifndef __COMMON_H #define __COMMON_H +#include + //----------------------------------------------------------------------------- // ISO 14443A //-----------------------------------------------------------------------------