about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/locale.c1
-rw-r--r--locale/localedef.c1
-rw-r--r--locale/locfile-parse.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/locale/locale.c b/locale/locale.c
index 20385f07d8..fd2e392e80 100644
--- a/locale/locale.c
+++ b/locale/locale.c
@@ -24,6 +24,7 @@ Cambridge, MA 02139, USA.  */
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <errno.h>
 
 #include "localedef.h"
 
diff --git a/locale/localedef.c b/locale/localedef.c
index fceebc5635..56ec1a2f6d 100644
--- a/locale/localedef.c
+++ b/locale/localedef.c
@@ -24,6 +24,7 @@ Cambridge, MA 02139, USA.  */
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <errno.h>
 #include "error.h"
 
 #include "localedef.h"
diff --git a/locale/locfile-parse.c b/locale/locfile-parse.c
index aad84334c9..daf56bcd45 100644
--- a/locale/locfile-parse.c
+++ b/locale/locfile-parse.c
@@ -15,6 +15,7 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
+#include <errno.h>
 #include <assert.h>
 #include <dirent.h>
 #include <fcntl.h>