2004-10-29 08:16:38

by Miles Bader

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

Signed-off-by: Miles Bader <[email protected]>

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) \