summaryrefslogtreecommitdiff
path: root/gl/stdio-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/stdio-impl.h')
-rw-r--r--gl/stdio-impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/stdio-impl.h b/gl/stdio-impl.h
index a065c1a61a..4935795374 100644
--- a/gl/stdio-impl.h
+++ b/gl/stdio-impl.h
@@ -26,6 +26,8 @@
# include <sys/param.h>
#endif
+#include <errno.h> /* For detecting Plan9. */
+
#if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
# if defined __DragonFly__ /* DragonFly */