* [PATCH] Trivial build fixes
@ 2004-08-06 13:55 Jakub Jelinek
2004-08-06 17:53 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2004-08-06 13:55 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
1) linux/atalk.h uses sa_family_t, but doesn't include any
headers which define that
2) atomic_increment in res_libc.c for 64-bit arches needs atomic.h include
2004-08-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
before including linux/atalk.h.
* resolv/res_libc.c: Include atomic.h.
--- libc/sysdeps/unix/sysv/linux/netatalk/at.h.jj 2001-07-06 06:56:18.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/netatalk/at.h 2004-08-06 15:15:07.430390562 +0200
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +21,7 @@
#define _NETATALK_AT_H 1
#include <asm/types.h>
+#include <bits/sockaddr.h>
#include <linux/atalk.h>
#include <sys/socket.h>
--- libc/resolv/res_libc.c.jj 2004-08-06 15:23:21.000000000 +0200
+++ libc/resolv/res_libc.c 2004-08-06 15:24:00.089799437 +0200
@@ -15,6 +15,7 @@
* SOFTWARE.
*/
+#include <atomic.h>
#include <limits.h>
#include <sys/types.h>
#include <netinet/in.h>
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Trivial build fixes
2004-08-06 13:55 [PATCH] Trivial build fixes Jakub Jelinek
@ 2004-08-06 17:53 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-08-06 17:53 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-06 17:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 13:55 [PATCH] Trivial build fixes Jakub Jelinek
2004-08-06 17:53 ` Ulrich Drepper
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).