about summary refs log tree commit diff
path: root/nscd/gethstbynm2_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-22 03:14:29 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-22 03:14:29 +0000
commit1ce7d80ddc62d4bb3e8e4f89fbcb6fa21361733d (patch)
treeb94b2b37659fd22373f3f20e2ca964a46d54759c /nscd/gethstbynm2_r.c
parenta30d41c1d2c69b34e6f19dc1f92881f18e75349c (diff)
downloadglibc-1ce7d80ddc62d4bb3e8e4f89fbcb6fa21361733d.tar.gz
glibc-1ce7d80ddc62d4bb3e8e4f89fbcb6fa21361733d.tar.xz
glibc-1ce7d80ddc62d4bb3e8e4f89fbcb6fa21361733d.zip
[BZ #4814]
	* resolv/res_hconf.c: Prepare for compiling outside libc.
	* nscd/res_hconf.c: New file.
	* nscd/Makefile (nscd-modules): Add res_hconf.  Add rules to build
	the new file.
	* nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define.
	* nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise.
Diffstat (limited to 'nscd/gethstbynm2_r.c')
-rw-r--r--nscd/gethstbynm2_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/gethstbynm2_r.c b/nscd/gethstbynm2_r.c
index abe992cc1c..85e95d4a63 100644
--- a/nscd/gethstbynm2_r.c
+++ b/nscd/gethstbynm2_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1996-1998, 2000, 2005, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -30,6 +30,7 @@
 #define ADD_PARAMS	const char *name, int af
 #define ADD_VARIABLES	name, af
 #define NEED_H_ERRNO	1
+#define NEED__RES_HCONF 1
 
 #define HANDLE_DIGITS_DOTS	1
 #define HAVE_LOOKUP_BUFFER	1