summaryrefslogtreecommitdiff
path: root/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h')
-rw-r--r--package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h b/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h
new file mode 100644
index 000000000..8f0c698fb
--- /dev/null
+++ b/package/owfs/patches/patch-module_owlib_src_include_compat_netdb_h
@@ -0,0 +1,15 @@
+--- owfs-3.1p0.orig/module/owlib/src/include/compat_netdb.h 2015-01-11 02:31:32.000000000 +0100
++++ owfs-3.1p0/module/owlib/src/include/compat_netdb.h 2015-05-31 13:56:47.000000000 +0200
+@@ -63,12 +63,6 @@
+ #include <stdint.h>
+ #endif
+
+-#ifdef __USE_MISC
+-/* This is necessary to make this include file properly replace the
+- Sun version. */
+-# include <rpc/netdb.h>
+-#endif
+-
+ #ifdef HAVE_BITS_NETDB_H
+ #include <bits/netdb.h>
+ #endif