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.old/configure.in (-1 / +1 lines)
Lines 20-26 Link Here
20
AC_FUNC_ALLOCA
20
AC_FUNC_ALLOCA
21
AC_HEADER_DIRENT
21
AC_HEADER_DIRENT
22
AC_HEADER_STDC
22
AC_HEADER_STDC
23
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h ])
23
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h getopt.h errno.h asm/byteorder.h machine/endian.h])
24
24
25
# Checks for typedefs, structures, and compiler characteristics.
25
# Checks for typedefs, structures, and compiler characteristics.
26
AC_C_CONST
26
AC_C_CONST
(-)usbutils-0.73.old/lsusb.c (+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
#if defined(HAVE_ASM_BYTEORDER_H)
38
#include <asm/byteorder.h>
39
#include <asm/byteorder.h>
39
#define le16_to_cpu	__le16_to_cpu
40
#define le16_to_cpu	__le16_to_cpu
41
#elif defined(HAVE_MACHINE_ENDIAN_H)
42
#include <machine/endian.h>
43
#if _BYTE_ORDER == _LITTLE_ENDIAN
44
#define le16_to_cpu(x) (x)
45
#else
46
#define le16_to_cpu	__bswap16
47
#endif
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