mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Linux 2.6.25 - posix_types.h
@ 2008-04-19 16:04 Jeff Chua
  2008-04-20 19:02 ` [2.6 patch] fix asm-x86/{posix_types,unistd}.h Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Chua @ 2008-04-19 16:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel


Linus,

The latest git download changes the behavior of posix_types.h such that 
non-kernel programs are no longer able to include posix types 
(e.g. xserver can no longer be compiled).

I don't know whether this is intended or a bug.

Attached is a patch to allow __i386__ as was done in the past.

Thanks,
Jeff.


--- linux-2.6/include/asm-x86/posix_types.h.org	2008-04-19 16:53:03 +0800
+++ linux-2.6/include/asm-x86/posix_types.h	2008-04-19 16:51:48 +0800
@@ -1,5 +1,5 @@
-#ifdef __KERNEL__
-# if defined(CONFIG_X86_32) || defined(__i386__)
+#if defined(__KERNEL__) || defined(__i386__)
+# if defined(CONFIG_X86_32)
  #  include "posix_types_32.h"
  # else
  #  include "posix_types_64.h"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-21 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-19 16:04 [PATCH] Linux 2.6.25 - posix_types.h Jeff Chua
2008-04-20 19:02 ` [2.6 patch] fix asm-x86/{posix_types,unistd}.h Adrian Bunk
2008-04-21 14:24   ` Jeff Chua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®