We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca739f6 commit 0aca662Copy full SHA for 0aca662
client/Makefile
@@ -57,7 +57,8 @@ endif
57
58
LUAPLATFORM = generic
59
ifneq (,$(findstring MINGW,$(platform)))
60
- LUAPLATFORM = mingw
+ LUAPLATFORM = mingw
61
+ LDLIBS += -lws2_32
62
else
63
ifeq ($(platform),Darwin)
64
LUAPLATFORM = macosx
client/ksx6924/ksx6924core.c
@@ -21,7 +21,11 @@
21
//-----------------------------------------------------------------------------
22
23
#include "ksx6924core.h"
24
-#include <arpa/inet.h>
+#ifdef _WIN32
25
+# include <winsock2.h> // ntohl
26
+#else
27
+# include <arpa/inet.h> // ntohl
28
+#endif
29
#include <string.h>
30
#include "emv/emvcore.h"
31
#include "emv/apduinfo.h"
0 commit comments