aboutsummaryrefslogtreecommitdiffstats
path: root/examples/loadables/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/loadables/uname.c')
-rw-r--r--examples/loadables/uname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/loadables/uname.c b/examples/loadables/uname.c
index a1bddd5..14a9bbb 100644
--- a/examples/loadables/uname.c
+++ b/examples/loadables/uname.c
@@ -56,7 +56,7 @@ struct utsname {
#define FLAG_ALL 0x1f
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
static void uprint();