diff options
Diffstat (limited to 'c/src/exec/libnetworking/libc/res_init.c')
-rw-r--r-- | c/src/exec/libnetworking/libc/res_init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/exec/libnetworking/libc/res_init.c b/c/src/exec/libnetworking/libc/res_init.c index 9371e9fa82..c44e0eea2d 100644 --- a/c/src/exec/libnetworking/libc/res_init.c +++ b/c/src/exec/libnetworking/libc/res_init.c @@ -90,6 +90,11 @@ static char rcsid[] = "$Id$"; #include "res_config.h" +/* + * RTEMS -- set up name servers from global variable + */ +include <rtems/rtems_bsdnet_internal.h> + static void res_setoptions __P((char *, char *)); #ifdef RESOLVSORT @@ -200,7 +205,6 @@ res_init() * RTEMS -- Set up name servers */ { -#include <rtems/rtems_bsdnet_internal.h> int n = 0; while ((n < rtems_bsdnet_nameserver_count) && (nserv < MAXNS)) { _res.nsaddr_list[nserv].sin_addr = rtems_bsdnet_nameserver[n]; |