Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is
	defined and __ASSUME_NETLINK_SUPPORT is zero.
	* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add
	-DNEED_NETLINK.
  • Loading branch information
Ulrich Drepper committed Oct 4, 2004
1 parent e582c5e commit e14bbf5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2004-10-04 Ulrich Drepper <drepper@redhat.com>

* nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is
defined and __ASSUME_NETLINK_SUPPORT is zero.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add
-DNEED_NETLINK.

* malloc/mtrace.pl: Avoid calling location unless it is needed for
output. Patch by Edward Bishop <binutils@gmail.com>.

Expand Down
4 changes: 4 additions & 0 deletions nscd/gai.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@

/* Some variables normally defined in libc. */
service_user *__nss_hosts_database;

#if defined NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0
int __no_netlink_support attribute_hidden;
#endif
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,5 @@ endif

ifeq ($(subdir),nscd)
CFLAGS-connections.c += -DHAVE_EPOLL
CFLAGS-gai.c += -DNEED_NETLINK
endif

0 comments on commit e14bbf5

Please sign in to comment.