aboutsummaryrefslogtreecommitdiffstats
path: root/examples/loadables/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/loadables/ln.c')
-rw-r--r--examples/loadables/ln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/loadables/ln.c b/examples/loadables/ln.c
index ec73636..16514ee 100644
--- a/examples/loadables/ln.c
+++ b/examples/loadables/ln.c
@@ -39,7 +39,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
typedef int unix_link_syscall_t __P((const char *, const char *));