27 lines
528 B
Text
27 lines
528 B
Text
$NetBSD: patch-ab,v 1.1 2006/04/22 17:24:27 joerg Exp $
|
|
|
|
--- cnxtview.c.orig 2004-01-13 17:20:15.000000000 +0000
|
|
+++ cnxtview.c
|
|
@@ -45,7 +45,11 @@
|
|
#include <string.h>
|
|
#include <err.h>
|
|
|
|
+#if defined(__DragonFly__)
|
|
+#include <bus/usb/usb.h>
|
|
+#else
|
|
#include <dev/usb/usb.h>
|
|
+#endif
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <gdk_imlib.h>
|
|
@@ -78,8 +82,8 @@ int main(int argc, char *argv[])
|
|
int i;
|
|
int ret;
|
|
|
|
- fd = NULL;
|
|
- efd = NULL;
|
|
+ fd = 0;
|
|
+ efd = 0;
|
|
|
|
gtk_init(&argc, &argv);
|
|
gdk_imlib_init();
|