From: marshmellow42 <marshmellowrf@gmail.com>
Date: Sun, 26 Mar 2017 17:34:38 +0000 (-0400)
Subject: fix missing header
X-Git-Tag: v3.0.0~29^2
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/3e8c61a5228f1090f408a27c645baabd02344abf?hp=9b99a6dbdb981e490af7951a1ac952aefab3cab7

fix missing header

http://www.proxmark.org/forum/viewtopic.php?pid=26786#p26786
---

diff --git a/client/cmdlffdx.c b/client/cmdlffdx.c
index 69c3c483..a603a4d2 100644
--- a/client/cmdlffdx.c
+++ b/client/cmdlffdx.c
@@ -9,7 +9,9 @@
 
 #include "cmdlffdx.h"
 
+#include <stdio.h>
 #include <inttypes.h>
+#include <string.h>
 #include "proxmark3.h"
 #include "ui.h"         // for PrintAndLog
 #include "util.h"
@@ -134,7 +136,7 @@ int CmdFdxDemod(const char *Cmd){
 
 	//Differential Biphase / di-phase (inverted biphase)
 	//get binary from ask wave
-	if (!ASKbiphaseDemod("0 32 1 0", FALSE)) {
+	if (!ASKbiphaseDemod("0 32 1 0", false)) {
 		if (g_debugMode) PrintAndLog("DEBUG: Error - FDX-B ASKbiphaseDemod failed");
 		return 0;
 	}
@@ -202,7 +204,7 @@ int CmdFdxDemod(const char *Cmd){
 
 int CmdFdxRead(const char *Cmd) {
 	CmdLFRead("s");
-	getSamples("10000", TRUE);
+	getSamples("10000", true);
 	return CmdFdxDemod(Cmd);
 }