[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321263: libc6-dev: broken header file: linux/joystick.h



Package: libc6-dev
Version: 2.3.2.ds1-22
Severity: normal
Tags: patch


/usr/include/linux/joystick.h:142:2: error: #error Unexpected BITS_PER_LONG

patch:
--- joystick.h- 2005-08-05 00:14:30.191722296 +1000
+++ joystick.h  2005-08-05 00:14:16.112903933 +1000
@@ -134,6 +134,7 @@
 	struct JS_DATA_TYPE JS_CORR;
 };
 
+#ifdef __KERNEL__
 
 #if BITS_PER_LONG == 64
 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64
@@ -143,4 +144,6 @@
 #error Unexpected BITS_PER_LONG
 #endif
 
+#endif
+
 #endif /* _LINUX_JOYSTICK_H */


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libc6-dev depends on:
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  linux-kernel-headers       2.6.13+0rc3-1 Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]              4:4.0.0-2  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-7  The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.4-5    The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.1-3    The GNU C compiler

-- no debconf information



Reply to: