This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Trivial build fixes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]