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 (-2 / +3 lines)
Lines 20-29 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, byte order, and compiler characteristics.
26
AC_C_CONST
26
AC_C_CONST
27
AC_C_BIGENDIAN
27
AC_TYPE_OFF_T
28
AC_TYPE_OFF_T
28
AC_TYPE_SIZE_T
29
AC_TYPE_SIZE_T
29
30
(-)usbutils-0.73.old/lsusb.c (-2 / +11 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
#include <asm/byteorder.h>
38
#if defined(HAVE_ASM_BYTEORDER_H)
39
#define le16_to_cpu	__le16_to_cpu
39
#  include <asm/byteorder.h>
40
#  define le16_to_cpu	__le16_to_cpu
41
#elif defined(HAVE_MACHINE_ENDIAN_H)
42
#  include <machine/endian.h>
43
#  ifndef WORDS_BIGENDIAN
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