fix travis compile in linux

This commit is contained in:
merlokk 2017-12-19 15:37:56 +02:00
commit 330868020b

View file

@ -19,7 +19,7 @@
#include "emv_pk.h" #include "emv_pk.h"
#include "crypto.h" #include "crypto.h"
#include <proxmark3.h> #include "proxmark3.h"
/* For asprintf */ /* For asprintf */
#define _GNU_SOURCE #define _GNU_SOURCE
@ -27,6 +27,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h>
#define BCD(c) (((c) >= '0' && (c) <= '9') ? ((c) - '0') : \ #define BCD(c) (((c) >= '0' && (c) <= '9') ? ((c) - '0') : \
-1) -1)