aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/resolv.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 95b9eebef8..b416764bb6 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -1 +1,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