public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* posix/sys/types.h does not include stdint.h
@ 2005-03-03  9:59 Dinar Temirbulatov
  2005-03-05 10:08 ` Thomas Schwinge
  0 siblings, 1 reply; 2+ messages in thread
From: Dinar Temirbulatov @ 2005-03-03  9:59 UTC (permalink / raw)
  To: glibc-bugs

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

hi,
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.

[-- Attachment #2: glibc-iso99-types.patch --]
[-- Type: text/plain, Size: 739 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: posix/sys/types.h does not include stdint.h
  2005-03-03  9:59 posix/sys/types.h does not include stdint.h Dinar Temirbulatov
@ 2005-03-05 10:08 ` Thomas Schwinge
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Schwinge @ 2005-03-05 10:08 UTC (permalink / raw)
  To: Dinar Temirbulatov; +Cc: glibc-bugs, libc-alpha

[ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-05 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03  9:59 posix/sys/types.h does not include stdint.h Dinar Temirbulatov
2005-03-05 10:08 ` Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).