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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gl/stdio-impl.h b/gl/stdio-impl.h
index d41c32f4b7..4935795374 100644
--- a/gl/stdio-impl.h
+++ b/gl/stdio-impl.h
@@ -1,5 +1,5 @@
/* Implementation details of FILE streams.
- Copyright (C) 2007-2008, 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008, 2010-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -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 */