public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] syslet demos - add more includes
@ 2007-05-31 18:04 Jeff Dike
  2007-05-31 22:08 ` Zach Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Dike @ 2007-05-31 18:04 UTC (permalink / raw)
  To: Zach Brown, Ingo Molnar; +Cc: LKML, uml-devel

Add a bunch of includes to sys.h and syslet.h to kill off compilation warnings.

Signed-off-by: Jeff Dike <jdike@linux.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

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

end of thread, other threads:[~2007-05-31 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 18:04 [PATCH 1/3] syslet demos - add more includes Jeff Dike
2007-05-31 22:08 ` Zach Brown

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