public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Trivial build fixes
Date: Fri, 06 Aug 2004 13:55:00 -0000	[thread overview]
Message-ID: <20040806113901.GJ30497@sunsite.ms.mff.cuni.cz> (raw)

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

             reply	other threads:[~2004-08-06 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06 13:55 Jakub Jelinek [this message]
2004-08-06 17:53 ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040806113901.GJ30497@sunsite.ms.mff.cuni.cz \
    --to=jakub@redhat.com \
    --cc=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).