about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@codesourcery.com>2012-02-27 22:10:17 -0500
committerCarlos O'Donell <carlos@codesourcery.com>2012-02-27 22:31:39 -0500
commit433f48bf3ba7120b9a16ed4816d630f250ea4d92 (patch)
tree38e1071f76647b0a3914ea57775df7dfa0494fa9
parentd674b76d0e46202ab8fd582b9d44d918d5fdd3e7 (diff)
downloadglibc-433f48bf3ba7120b9a16ed4816d630f250ea4d92.tar.gz
glibc-433f48bf3ba7120b9a16ed4816d630f250ea4d92.tar.xz
glibc-433f48bf3ba7120b9a16ed4816d630f250ea4d92.zip
BZ #3992: stdlib/fmtmsg.c: missing stdint.h include.
Use of uint32_t requires stdint.h.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS10
-rw-r--r--stdlib/fmtmsg.c4
3 files changed, 12 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index cd409b28ab..d00ab102b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+	[BZ #3992]
+	* stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
+
 2012-02-27  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
diff --git a/NEWS b/NEWS
index 82d32c9c3f..35c9617b83 100644
--- a/NEWS
+++ b/NEWS
@@ -9,11 +9,11 @@ Version 2.16
 
 * The following bugs are resolved with this release:
 
-  174, 350, 411, 2547, 2548, 3335, 4026, 4596, 4822, 5077, 5461, 5805, 5993,
-  6884, 6907, 9739, 9902, 10110, 10140, 10210, 11174, 11322, 11365, 11494,
-  12047, 13058, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532,
-  13533, 13547, 13551, 13552, 13553, 13555, 13559, 13583, 13618, 13695,
-  13704, 13738
+  174, 350, 411, 2547, 2548, 3335, 3992, 4026, 4596, 4822, 5077, 5461, 5805,
+  5993, 6884, 6907, 9739, 9902, 10110, 10140, 10210, 11174, 11322, 11365,
+  11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529, 13530, 13531,
+  13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13583, 13618,
+  13695, 13704, 13738
 
 * ISO C11 support:
 
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c
index 4c02302851..69947e1cf1 100644
--- a/stdlib/fmtmsg.c
+++ b/stdlib/fmtmsg.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1997,1999-2003,2005,2006,2011,2012
-   Free Software Foundation, Inc.
+/* Copyright (C) 1997-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -20,6 +19,7 @@
 #include <fmtmsg.h>
 #include <bits/libc-lock.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/syslog.h>