[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804192351220.3260@boston.corp.fedex.com>
Date: Sun, 20 Apr 2008 00:04:53 +0800 (SGT)
From: Jeff Chua <jeff.chua.linux@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] Linux 2.6.25 - posix_types.h
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"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists