projects
/
pkgsrc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git]
/
wip
/
dfu-util
/
patches
/
patch-ab
1
$NetBSD$
2
3
--- src/main.c.orig 2007-09-01 13:18:10.000000000 +0200
4
+++ src/main.c 2007-09-01 13:19:37.000000000 +0200
5
@@ -26,8 +26,13 @@
6
#include <getopt.h>
7
#include <usb.h>
8
#include <errno.h>
9
+#if __NetBSD__
10
+#include <machine/bswap.h>
11
+#include <sys/endian.h>
12
+#else
13
#include <byteswap.h>
14
#include <endian.h>
15
+#endif
16
17
#include "dfu.h"
18
#include "usb_dfu.h"