diff options
author | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 22:10:10 +0000 |
---|---|---|
committer | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 22:10:10 +0000 |
commit | e73b417c526bc32355487544b92db058459a5619 (patch) | |
tree | 3519454064c19d4dd8a9080cf375cd69648562d6 /host/ausb | |
parent | 6f440df07f8c30de45e944736ca2a11ae9ce3c43 (diff) |
opcd_presence: counterpart for main_presence firmware - posts sighted tags to URL via http protocol
git-svn-id: https://svn.openpcd.org:2342/trunk@307 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'host/ausb')
-rw-r--r-- | host/ausb/ausb.h | 3 | ||||
-rw-r--r-- | host/ausb/usb.c | 1 | ||||
-rw-r--r-- | host/ausb/usb.h | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/host/ausb/ausb.h b/host/ausb/ausb.h index 4d62cac..96247bb 100644 --- a/host/ausb/ausb.h +++ b/host/ausb/ausb.h @@ -9,6 +9,9 @@ * Distributed under the terms of GNU LGPL, Version 2.1 */ +#ifndef __user +#define __user +#endif/*__user*/ #include <usb.h> #include <linux/usbdevice_fs.h> diff --git a/host/ausb/usb.c b/host/ausb/usb.c index 1f1078d..1d3aaf4 100644 --- a/host/ausb/usb.c +++ b/host/ausb/usb.c @@ -4,6 +4,7 @@ #include <errno.h> #include <usb.h> #include <sys/ioctl.h> +#include "usb.h" #include <linux/usbdevice_fs.h> #define MAX_READ_WRITE 4096 diff --git a/host/ausb/usb.h b/host/ausb/usb.h index 66be0ee..979d30c 100644 --- a/host/ausb/usb.h +++ b/host/ausb/usb.h @@ -1,5 +1,10 @@ #ifndef _AUSB_USB_H #define _AUSB_USB_H + +#ifndef __user +#define __user +#endif/*__user*/ + int __usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int length, int timeout); int __usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int length, |