Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 197678 | Differences between
and this patch

Collapse All | Expand All

(-)usbutils-0.73/lsusb.c.old (+9 lines)
Lines 35-42 Link Here
35
#include <errno.h>
35
#include <errno.h>
36
#include <stdio.h>
36
#include <stdio.h>
37
#include <stdarg.h>
37
#include <stdarg.h>
38
#ifdef __FreeBSD__
39
#include <machine/endian.h>
40
#if _BYTE_ORDER == _LITTLE_ENDIAN
41
#define le16_to_cpu(x) (x)
42
#else
43
#define le16_to_cpu	__bswap16
44
#endif
45
#else
38
#include <asm/byteorder.h>
46
#include <asm/byteorder.h>
39
#define le16_to_cpu	__le16_to_cpu
47
#define le16_to_cpu	__le16_to_cpu
48
#endif
40
#include <usb.h>
49
#include <usb.h>
41
50
42
/* NOTE:  that should be <libusb.h> and it should include
51
/* NOTE:  that should be <libusb.h> and it should include

Return to bug 197678