anolis-glibc/glibc-rh677316-res_state.patch
zhangbinchen ff0128648f import glibc-2.17-292.el7.src.rpm
Signed-off-by: zhangbinchen <zhangbinchen@openanolis.org>
2021-08-21 12:40:25 +08:00

11 lines
330 B
Diff

This patch adds a <bits/types/res_state.h> header, to simplify
backporting.
diff --git a/include/bits/types/res_state.h b/include/bits/types/res_state.h
new file mode 100644
index 0000000000000000..568c768f444d0198
--- /dev/null
+++ b/include/bits/types/res_state.h
@@ -0,0 +1,2 @@
+#define __need_res_state
+#include <resolv.h>