From 20a1b978f356c0601ee0151ec38cf589f0bd68ee Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Tue, 20 Dec 2016 16:46:46 +0100 Subject: [PATCH] NetBSD definition for CCID ioctl --- libnfc/drivers/acr122_pcsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/acr122_pcsc.c b/libnfc/drivers/acr122_pcsc.c index 6d7c9e6..93af3aa 100644 --- a/libnfc/drivers/acr122_pcsc.c +++ b/libnfc/drivers/acr122_pcsc.c @@ -59,7 +59,7 @@ # define IOCTL_CCID_ESCAPE_SCARD_CTL_CODE SCARD_CTL_CODE(3500) #elif defined(__APPLE__) # define IOCTL_CCID_ESCAPE_SCARD_CTL_CODE (((0x31) << 16) | ((3500) << 2)) -#elif defined (__FreeBSD__) || defined (__OpenBSD__) +#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) # define IOCTL_CCID_ESCAPE_SCARD_CTL_CODE (((0x31) << 16) | ((3500) << 2)) #elif defined (__linux__) # include