drd/tests/std_thread2: Make this test independent of the libstdc++ version
[valgrind.git] / none / tests / resolv.c
blob0571022a1ee1dd4648a5165020065aa0ce91c4b9
2 #include <netinet/in.h>
3 #include <resolv.h>
4 #include <stdio.h>
6 int main(int argc, char *argv[])
8 printf("PRE _res.nscount = %d\n", _res.nscount);
9 fflush(stdout);
10 res_init();
11 printf("POST _res.nscount = %d\n", ( int ) _res.nscount > 0 );
12 fflush(stdout);
13 return 0;