From e73b417c526bc32355487544b92db058459a5619 Mon Sep 17 00:00:00 2001 From: meri Date: Tue, 10 Apr 2007 22:10:10 +0000 Subject: 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 --- host/ausb/ausb.h | 3 +++ host/ausb/usb.c | 1 + host/ausb/usb.h | 5 +++++ 3 files changed, 9 insertions(+) (limited to 'host/ausb') 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 #include 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 #include #include +#include "usb.h" #include #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, -- cgit v1.2.3