aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.c b/test.c
index ab7bec7..75f1edf 100644
--- a/test.c
+++ b/test.c
@@ -42,7 +42,7 @@
#include <errno.h>
#if !defined (errno)
-extern int errno;
+#include <errno.h>
#endif /* !errno */
#if !defined (_POSIX_VERSION) && defined (HAVE_SYS_FILE_H)