about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--locale/weight.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70c28b2aab..da353b1af1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
 
+	* locale/weight.h: Include <errno.h>.
+
 	* posix/sys/types.h: Define type useconds_t if not done already.
 	* posix/unistd.h: Likewise.  Use this in ualarm and usleep
 	declarations.
diff --git a/locale/weight.h b/locale/weight.h
index fed84244bd..c110bf6afc 100644
--- a/locale/weight.h
+++ b/locale/weight.h
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <alloca.h>
+#include <errno.h>
 #include <langinfo.h>
 #include "localeinfo.h"