aboutsummaryrefslogtreecommitdiffstats
path: root/examples/loadables/pathchk.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/loadables/pathchk.c')
-rw-r--r--examples/loadables/pathchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/loadables/pathchk.c b/examples/loadables/pathchk.c
index c5fd24a..6c510e1 100644
--- a/examples/loadables/pathchk.c
+++ b/examples/loadables/pathchk.c
@@ -66,7 +66,7 @@
#include "common.h"
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif
#if !defined (_POSIX_PATH_MAX)