File cares_public_headers.patch of Package nodejs-electron

Index: node-v14.17.5/src/cares_wrap.h
===================================================================
--- node-v14.17.5.orig/third_party/electron_node/src/cares_wrap.h
+++ node-v14.17.5/third_party/electron_node/src/cares_wrap.h
@@ -22,7 +22,7 @@
 # include <netdb.h>
 #endif  // __POSIX__
 
-# include <ares_nameser.h>
+#include <arpa/nameser.h>
 
 namespace node {
 namespace cares_wrap {
openSUSE Build Service is sponsored by