summary refs log tree commit diff
path: root/misc/error.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-29 15:59:52 +0000
committerJakub Jelinek <jakub@redhat.com>2005-07-29 15:59:52 +0000
commit1ce6c1300b11dcd825ee372b9354607f5069a6f1 (patch)
tree67990009472995b855931e265aebae3d42649e12 /misc/error.c
parent6220c7e39166e868f668aa70cf3fb88ace484561 (diff)
downloadglibc-1ce6c1300b11dcd825ee372b9354607f5069a6f1.tar.gz
glibc-1ce6c1300b11dcd825ee372b9354607f5069a6f1.tar.xz
glibc-1ce6c1300b11dcd825ee372b9354607f5069a6f1.zip
Updated to fedora-glibc-20050729T1531
Diffstat (limited to 'misc/error.c')
-rw-r--r--misc/error.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/error.c b/misc/error.c
index 29060e94de..66a8ccb501 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -26,6 +26,8 @@
 #include <stdio.h>
 #include <libintl.h>
 #ifdef _LIBC
+# include <stdbool.h>
+# include <stdint.h>
 # include <wchar.h>
 # define mbsrtowcs __mbsrtowcs
 #endif
@@ -210,7 +212,7 @@ error_tail (int status, int errnum, const char *message, va_list args)
 
 	  if (__builtin_expect (len >= SIZE_MAX / 2, 0))
 	    {
-	      /* This reallyy should not happen if everything is fine.  */
+	      /* This really should not happen if everything is fine.  */
 	      res = (size_t) -1;
 	      break;
 	    }