Skip to contentSkip to conversation

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

PATCH New Miles Bader 1 participant 1 message Oct 29, 2004

lore
Share & tools
lore
#0 lore raw

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

 include/asm-v850/posix_types.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)
include/asm-v850/posix_types.h +3 -1
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
@@ -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) \