From: pwpiwi Date: Sun, 26 Mar 2017 10:28:07 +0000 (+0200) Subject: fix mfkey tools (issue #247) X-Git-Tag: v3.0.0~32^2 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/dc2349ae7752f9da5337c515f9f5b71292f812e7 fix mfkey tools (issue #247) - add -std=c99 -D_ISOC99_SOURCE to compiler flags - fix: include instead of in mfkey64.c --- diff --git a/tools/mfkey/Makefile b/tools/mfkey/Makefile index da7d431a..1744e35a 100755 --- a/tools/mfkey/Makefile +++ b/tools/mfkey/Makefile @@ -1,7 +1,7 @@ VPATH = ../../common/crapto1 ../../client CC = gcc LD = gcc -CFLAGS = -I../../common -I../../client -Wall -O4 +CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3 LDFLAGS = OBJS = crypto1.o crapto1.o util.o mfkey.o diff --git a/tools/mfkey/mfkey64.c b/tools/mfkey/mfkey64.c index 4e9876c5..1b002812 100755 --- a/tools/mfkey/mfkey64.c +++ b/tools/mfkey/mfkey64.c @@ -1,5 +1,5 @@ #include -#include +#include #include #include "crapto1/crapto1.h" #include "util.h"