From 49ec6d1d1bfbf2d176e392e20b44be61538b7fad Mon Sep 17 00:00:00 2001 From: "roel@libnfc.org" Date: Fri, 7 Dec 2012 08:44:45 +0000 Subject: [PATCH] fixed windows compile --- client/Makefile | 2 +- client/cmdhfepa.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/Makefile b/client/Makefile index 8ddde4bd..9a9d3228 100644 --- a/client/Makefile +++ b/client/Makefile @@ -19,7 +19,7 @@ CFLAGS = -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno ifneq (,$(findstring MINGW,$(platform))) CXXFLAGS = -I$(QTDIR)/include -I$(QTDIR)/include/QtCore -I$(QTDIR)/include/QtGui QTLDLIBS = -L$(QTDIR)/lib -lQtCore4 -lQtGui4 -MOC = moc +MOC = $(QTDIR)/bin/moc else ifeq ($(platform),Darwin) CXXFLAGS = -I/Library/Frameworks/QtGui.framework/Versions/Current/Headers -I/Library/Frameworks/QtCore.framework/Versions/Current/Headers QTLDLIBS = -framework QtGui -framework QtCore diff --git a/client/cmdhfepa.c b/client/cmdhfepa.c index 2787b969..e285f02c 100644 --- a/client/cmdhfepa.c +++ b/client/cmdhfepa.c @@ -14,6 +14,7 @@ #include "cmdparser.h" #include "common.h" #include "cmdmain.h" +#include "sleep.h" #include "cmdhfepa.h" @@ -92,4 +93,4 @@ int CmdHFEPA(const char *Cmd) // parse CmdsParse(CommandTable, Cmd); return 0; -} \ No newline at end of file +} -- 2.39.5