[PATCH] v850: Work around include-definition-loop problem in <asm-v850/posix_types.h>

From: Miles Bader
Date: Fri Oct 29 2004 - 03:18:35 EST


Signed-off-by: Miles Bader <miles@xxxxxxx>

include/asm-v850/posix_types.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)

diff -ruN -X../cludes linux-2.6.9-uc0/include/asm-v850/posix_types.h linux-2.6.9-uc0-v850-20041028/include/asm-v850/posix_types.h
--- linux-2.6.9-uc0/include/asm-v850/posix_types.h 2003-09-29 13:19:13 +0900
+++ linux-2.6.9-uc0-v850-20041028/include/asm-v850/posix_types.h 2004-10-28 13:32:47 +0900
@@ -54,7 +54,9 @@

#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)

-#include <asm/bitops.h>
+/* We used to include <asm/bitops.h> here, which seems the right thing, but
+ it caused nasty include-file definition order problems. Removing the
+ include seems to work, so fingers crossed... */

#undef __FD_SET
#define __FD_SET(fd, fd_set) \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/