aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-02 21:45:30 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-02 21:45:30 +0100
commitcfafda4169f08447a3163e9aa4997121c562c13d (patch)
treef45f2984808bcdb35ca98c01c55081ee38792ffc /tools/console
parent428dc303f59bf749bd9437e44db1f54d12bdb5bc (diff)
downloadxen-cfafda4169f08447a3163e9aa4997121c562c13d.tar.gz
xen-cfafda4169f08447a3163e9aa4997121c562c13d.tar.bz2
xen-cfafda4169f08447a3163e9aa4997121c562c13d.zip
tools: Always check for __linux__ not __Linux__
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/console')
-rw-r--r--tools/console/daemon/io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c
index 67fb22c612..5a6ccbfd43 100644
--- a/tools/console/daemon/io.c
+++ b/tools/console/daemon/io.c
@@ -39,10 +39,9 @@
#include <assert.h>
#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <util.h>
-#elif defined(__linux__) || defined(__Linux__)
+#elif defined(__linux__)
#include <pty.h>
-#endif
-#if defined(__sun__)
+#elif defined(__sun__)
#include <stropts.h>
#endif