glibc/nscd/res_hconf.c
Ulrich Drepper 1ce7d80ddc [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.
2007-08-22 03:14:29 +00:00

14 lines
334 B
C

/* Add the include here so that we can redefine __fxprintf. */
#include <stdio.h>
/* Rename symbols for protected names used in libc itself. */
#define __ioctl ioctl
#define __socket socket
#define __strchrnul strchrnul
#define __strncasecmp strncasecmp
#define __fxprintf(args...) /* ignore */
#include "../resolv/res_hconf.c"