2013-09-26 17:14:40 +02:00

26 lines
492 B
Plaintext

$NetBSD: patch-aa,v 1.2 2006/04/22 17:24:27 joerg Exp $
--- cnxtshot.c.orig 2004-01-13 17:16:20.000000000 +0000
+++ cnxtshot.c
@@ -39,7 +39,11 @@
#include <string.h>
#include <err.h>
+#if defined(__DragonFly__)
+#include <bus/usb/usb.h>
+#else
#include <dev/usb/usb.h>
+#endif
#include "cnxt.h"
@@ -61,7 +65,7 @@ int main(int argc, char *argv[])
{
int i;
int ret;
- int fd = NULL, efd = NULL;
+ int fd = 0, efd = 0;
/* check option */
if (argc == 1) {