summaryrefslogtreecommitdiff
path: root/security/pcsc-lite/patches/patch-ag
blob: f8489cc7d0afd0aa300481df9dee8f20d6655301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2008/04/30 13:34:28 shannonjr Exp $

--- src/hotplug_libusb.c.orig	2007-10-13 15:21:11.000000000 -0600
+++ src/hotplug_libusb.c
@@ -313,7 +313,7 @@ void HPRescanUsbBus(void)
 	 */
 	for (i=0; i<PCSCLITE_MAX_READERS_CONTEXTS; i++)
 	{
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 		int fd;
 		char filename[BUS_DEVICE_STRSIZE];