From: Jeff Dike <jdike@addtoit.com>
To: Zach Brown <zach.brown@oracle.com>, Ingo Molnar <mingo@elte.hu>
Cc: LKML <linux-kernel@vger.kernel.org>,
uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: [PATCH 1/3] syslet demos - add more includes
Date: Thu, 31 May 2007 14:04:29 -0400 [thread overview]
Message-ID: <20070531180429.GA9782@c2.user-mode-linux.org> (raw)
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
next reply other threads:[~2007-05-31 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-31 18:04 Jeff Dike [this message]
2007-05-31 22:08 ` [PATCH 1/3] syslet demos - add more includes Zach Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070531180429.GA9782@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=zach.brown@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox