[PATCH] Fix sysdeps/posix/getaddrinfo.c
Jakub Jelinek
jakub@redhat.com
Fri Apr 25 16:43:00 GMT 2003
On Fri, Apr 25, 2003 at 09:06:39AM -0400, Daniel Jacobowitz wrote:
> There's some uses of "bool" and "true" which aren't available, at least as
> of gcc 3.2.3.
The fix is trivial:
2003-04-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/getaddrinfo.c: Include stdbool.h.
--- libc/sysdeps/posix/getaddrinfo.c 25 Apr 2003 14:53:36 -0000 1.1.1.18
+++ libc/sysdeps/posix/getaddrinfo.c 25 Apr 2003 15:47:10 -0000 1.8
@@ -52,6 +52,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
#include <sys/utsname.h>
#include <net/if.h>
#include <nsswitch.h>
+#include <stdbool.h>
#define GAIH_OKIFUNSPEC 0x0100
#define GAIH_EAI ~(GAIH_OKIFUNSPEC)
Jakub
More information about the Libc-alpha
mailing list