From: pwpiwi Date: Fri, 18 Aug 2017 05:50:03 +0000 (+0200) Subject: Fix compile issues for mfkey32 and mfkey64 after Pull Request #380 X-Git-Tag: v3.1.0~179 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/d0067d0768e26f100837609a75072da08950e456?ds=sidebyside Fix compile issues for mfkey32 and mfkey64 after Pull Request #380 --- diff --git a/client/mfkey.c b/client/mfkey.c index 2ab15dcb..0c72a37c 100644 --- a/client/mfkey.c +++ b/client/mfkey.c @@ -10,9 +10,9 @@ // MIFARE Darkside hack //----------------------------------------------------------------------------- -#include "mifare.h" #include "mfkey.h" +#include "mifare.h" #include "crapto1/crapto1.h" diff --git a/client/mfkey.h b/client/mfkey.h index fb7f575b..be32fe1b 100644 --- a/client/mfkey.h +++ b/client/mfkey.h @@ -15,6 +15,7 @@ #include #include +#include "mifare.h" extern bool mfkey32(nonces_t data, uint64_t *outputkey); extern bool mfkey32_moebius(nonces_t data, uint64_t *outputkey); diff --git a/tools/mfkey/Makefile b/tools/mfkey/Makefile index ede971dc..92d3be72 100755 --- a/tools/mfkey/Makefile +++ b/tools/mfkey/Makefile @@ -1,7 +1,7 @@ VPATH = ../../common ../../common/crapto1 ../../client CC = gcc LD = gcc -CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3 +CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../include -I../../common -I../../client -Wall -O3 LDFLAGS = OBJS = crypto1.o crapto1.o parity.o util_posix.o mfkey.o