[PATCH 19/40] UAPI: Fix linux/input.h inclusion order [ver #3]

From: David Howells
Date: Thu Jul 28 2011 - 11:58:00 EST


Fix linux/input.h inclusion order to make sure that the inclusion of the
user-specific file happens after the inclusion of the header file that
provides struct timeval.

To get around this problem, place a marker specifically to indicate the point
at which the UAPI header should be included in the kernel-specific file. The
marker will be deleted later.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

include/linux/input.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/input.h b/include/linux/input.h
index 068784e..b785703 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -19,6 +19,8 @@
#include <linux/types.h>
#endif

+// DISINTEGRATE: INCLUDE UAPI HERE
+
/*
* The event structure itself
*/

--
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/