From 2d52e869464b0df6b309d6570efeb8886191d7ac Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 1 Nov 1999 07:13:56 +0000 Subject: Update. 1999-11-01 Andreas Jaeger * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility. * inet/gethstbynm2_r.c: Reorder addresses. --- inet/gethstbynm2_r.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inet') diff --git a/inet/gethstbynm2_r.c b/inet/gethstbynm2_r.c index f4a1357..0b77b22 100644 --- a/inet/gethstbynm2_r.c +++ b/inet/gethstbynm2_r.c @@ -31,6 +31,10 @@ #define ADD_PARAMS const char *name, int af #define ADD_VARIABLES name, af #define NEED_H_ERRNO 1 +#define NEED__RES_HCONF 1 +#define POSTPROCESS \ + if (status == NSS_STATUS_SUCCESS) \ + _res_hconf_reorder_addrs (resbuf); #define HANDLE_DIGITS_DOTS 1 #define HAVE_LOOKUP_BUFFER 1 -- cgit v1.1