blob: 8f6b9cfd7963e1afa0abc4d4cf7becfcdc702bfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$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) {
|