summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-11 18:54:46 +0000
committerRoland McGrath <roland@gnu.org>2004-08-11 18:54:46 +0000
commitcc6502ddb867d277023f48ed26e2b1725bb2e792 (patch)
tree3011b0cc44c1d2f4505c836265f9c4f51b86b388 /resolv
parent3cabdafafa0cd42a86a63affd5d4fee2c10cfbf5 (diff)
downloadglibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.tar.gz
glibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.tar.xz
glibc-cc6502ddb867d277023f48ed26e2b1725bb2e792.zip
* sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
	* sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.

	* stdio-common/tst-popen.c: Include <string.h>.

	* resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 54f74d4d12..2366f59cd2 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -577,7 +577,9 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
 		}
 
 #ifdef _LIBC
+# ifdef DEBUG
 		char tmpbuf[40];
+# endif
 		Dprint(statp->options & RES_DEBUG,
 		       (stdout, ";; Querying server (# %d) address = %s\n",
 			ns + 1, inet_ntop(AF_INET6, &nsap->sin6_addr,