This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 3992
  stdlib/fmtmsg.c: missing stdint.h include Last modified: 2007-02-07 17:00:17
     Query page      Enter new bug
Bug#: 3992   Hardware:   Reporter: Aurelien Jarno <aurelien@aurel32.net>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: WONTFIX   Severity:  
Assigned To: Ulrich Drepper <drepper@redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 3992 depends on: Show dependency tree
Show dependency graph
Bug 3992 blocks:

Additional Comments:


Leave as RESOLVED WONTFIX
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2007-02-07 14:18
stdlib/fmtmsg.c is using a uint32_t type, but does not include stdint.h. This 
make the glibc to fail to build on Hurd. On other architectures, I guess 
stdint.h is included by one of the architecture specific headers.

The patches below fixes the problem:


Index: stdlib/fmtmsg.c
===================================================================
RCS file: /cvs/glibc/libc/stdlib/fmtmsg.c,v
retrieving revision 1.20
diff -u -d -p -r1.20 stdlib/fmtmsg.c
--- stdlib/fmtmsg.c    15 May 2006 18:41:18 -0000      1.20
+++ stdlib/fmtmsg.c    7 Feb 2007 14:06:37 -0000
@@ -20,6 +20,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>

------- Additional Comment #1 From Ulrich Drepper 2007-02-07 17:00 -------
I've said multiple times that the correct thing to do is to mimic what the other
archs do and include the same headers.  Otherwise there will always be these
kind of problems.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In