[PATCH 1/3] syslet demos - add more includes

From: Jeff Dike
Date: Thu May 31 2007 - 14:13:30 EST


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

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/