From 01a71a27ff0a7b9f95a2ae8109b96a66ac7c4676 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 29 Apr 2006 01:49:06 +0100 Subject: [PATCH] --- yaml --- r: 27983 b: refs/heads/master c: 34c278d3913a15b64943e8c40a16b4f732cc7c59 h: refs/heads/master i: 27981: 0b5ccb10e4a7da83af2c7a60cd765f20e45f0557 27979: 05c8150f703111135fa4b657e8bea419dc61e497 27975: 0907d76c82334c1af1a8f5d8633bde72db4956d2 27967: b2a7ad93201cd08280efb7e1659f4285fdc40de7 v: v3 --- [refs] | 2 +- trunk/include/linux/unistd.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 45ad1332d995..a47f3d9f6186 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c7afb48eb5147be9eb9789b4161462d246451ac2 +refs/heads/master: 34c278d3913a15b64943e8c40a16b4f732cc7c59 diff --git a/trunk/include/linux/unistd.h b/trunk/include/linux/unistd.h index 10ed9834b822..c18c60f3254e 100644 --- a/trunk/include/linux/unistd.h +++ b/trunk/include/linux/unistd.h @@ -1,7 +1,9 @@ #ifndef _LINUX_UNISTD_H_ #define _LINUX_UNISTD_H_ +#ifdef __KERNEL__ extern int errno; +#endif /* * Include machine specific syscallX macros