From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7435 invoked by alias); 6 Aug 2004 13:55:45 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 7419 invoked from network); 6 Aug 2004 13:55:44 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 6 Aug 2004 13:55:44 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i76Bd13j016822; Fri, 6 Aug 2004 13:39:01 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i76Bd1o5016820; Fri, 6 Aug 2004 13:39:01 +0200 Date: Fri, 06 Aug 2004 13:55:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Trivial build fixes Message-ID: <20040806113901.GJ30497@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-08/txt/msg00014.txt.bz2 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 * 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 +#include #include #include --- 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 #include #include #include Jakub