This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
Re: posix/sys/types.h does not include stdint.h
- From: Thomas Schwinge <schwinge-list-gnu-glibc-bugs at nic-nac-project dot de>
- To: Dinar Temirbulatov <dtemirbulatov at ru dot mvista dot com>
- Cc: glibc-bugs at sources dot redhat dot com, libc-alpha at sources dot redhat dot com
- Date: Sat, 5 Mar 2005 11:07:04 +0100
- Subject: Re: posix/sys/types.h does not include stdint.h
- References: <4226DFEE.4090807@ru.mvista.com>
[ cc'ed to <URL:mailto:libc-alpha@sources.redhat.com> ]
On Thu, Mar 03, 2005 at 12:58:48PM +0300, Dinar Temirbulatov wrote:
> hi,
You probably wanted to post that to
<URL:mailto:libc-alpha@sources.redhat.com> or file a bug report on
<URL:http://sources.redhat.com/bugzilla/>.
AFAIK <URL:glibc-bugs@sources.redhat.com> is for bugzilla messages only.
(At least that's how it is currently used.)
Perhaps posting to <URL:glibc-bugs@sources.redhat.com> should be
inhibited?
Regards,
Thomas
Fullquote follows.
> we have some type dependents in our inet part of the glibc for ISO C99
> integer types besides /netinet/in.h, here is the patch that solves such
> dependence.
> thanks, Dinar.
> diff -ru glibc-2.3.3.ORIGINAL/inet/netinet/in.h glibc-2.3.3/inet/netinet/in.h
> --- glibc-2.3.3.ORIGINAL/inet/netinet/in.h 2004-08-07 22:21:41.000000000 +0400
> +++ glibc-2.3.3/inet/netinet/in.h 2005-02-11 16:05:19.000000000 +0300
> @@ -20,9 +20,8 @@
> #define _NETINET_IN_H 1
>
> #include <features.h>
> -#include <stdint.h>
> #include <sys/socket.h>
> -#include <bits/types.h>
> +#include <sys/types.h>
>
>
> __BEGIN_DECLS
> diff -ru glibc-2.3.3.ORIGINAL/posix/sys/types.h glibc-2.3.3/posix/sys/types.h
> --- glibc-2.3.3.ORIGINAL/posix/sys/types.h 2002-10-24 03:48:51.000000000 +0400
> +++ glibc-2.3.3/posix/sys/types.h 2005-02-11 16:08:15.000000000 +0300
> @@ -28,6 +28,7 @@
>
> __BEGIN_DECLS
>
> +#include <stdint.h>
> #include <bits/types.h>
>
> #ifdef __USE_BSD