1 2 3 4 5 6 7 8 9 10 11 12
#ifndef _RESOLV_H_ #define RES_SET_H_ERRNO(r,x) \ do \ { \ (r)->res_h_errno = x; \ __set_h_errno(x); \ } \ while (0) #include <resolv/resolv.h> #endif