]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #250 from pwpiwi/fix_mfkey
authorIceman <iceman@iuse.se>
Sun, 26 Mar 2017 11:05:26 +0000 (13:05 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Mar 2017 11:05:26 +0000 (13:05 +0200)
fix mfkey tools (issue #247)

tools/mfkey/Makefile
tools/mfkey/mfkey64.c

index ab1623a87ccff9f3a0dda875cc8c44aef2809182..fc6170e4e3f4223437a50e43e8f9933576bcda9f 100755 (executable)
@@ -1,7 +1,7 @@
 VPATH = ../../common ../../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 parity.o util.o mfkey.o
index 4e9876c50524fe5ac0a9d9a8f86f4946822babe5..1b0028125c89071eb12fa1fdcd506dd2d60dbdd2 100755 (executable)
@@ -1,5 +1,5 @@
 #include <stdio.h>
-#include <strings.h>
+#include <string.h>
 #include <inttypes.h>
 #include "crapto1/crapto1.h"
 #include "util.h"
Impressum, Datenschutz