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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux