[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070531180429.GA9782@c2.user-mode-linux.org>
Date: Thu, 31 May 2007 14:04:29 -0400
From: Jeff Dike <jdike@...toit.com>
To: Zach Brown <zach.brown@...cle.com>, Ingo Molnar <mingo@...e.hu>
Cc: LKML <linux-kernel@...r.kernel.org>,
uml-devel <user-mode-linux-devel@...ts.sourceforge.net>
Subject: [PATCH 1/3] syslet demos - add more includes
Add a bunch of includes to sys.h and syslet.h to kill off compilation warnings.
Signed-off-by: Jeff Dike <jdike@...ux.intel.com>
--
sys.h | 7 +++++++
syslet.h | 2 ++
2 files changed, 9 insertions(+)
Index: async-test-v5/sys.h
===================================================================
--- async-test-v5.orig/sys.h 2007-02-28 14:32:16.000000000 -0500
+++ async-test-v5/sys.h 2007-05-31 13:29:57.000000000 -0400
@@ -1,5 +1,12 @@
#include <assert.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/syscall.h>
+#include <sys/time.h>
+#include <sys/types.h>
+
+#include "syslet.h"
#if DEBUG
# define pr(x...) do { printf("%d: ", sys_gettid()); printf(x); fflush(stdout); } while (0)
Index: async-test-v5/syslet.h
===================================================================
--- async-test-v5.orig/syslet.h 2007-02-28 14:32:16.000000000 -0500
+++ async-test-v5/syslet.h 2007-05-30 12:32:44.000000000 -0400
@@ -10,6 +10,8 @@
* User-space API/ABI definitions:
*/
+#include "common.h"
+
#ifndef __user
# define __user
#endif
-
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