summaryrefslogtreecommitdiff
path: root/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h')
-rw-r--r--package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h b/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h
new file mode 100644
index 000000000..52e87b77e
--- /dev/null
+++ b/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h
@@ -0,0 +1,15 @@
+--- lsof_4.89.orig/lsof_4.89_src/dialects/linux/dlsof.h 2015-07-07 21:47:05.000000000 +0200
++++ lsof_4.89/lsof_4.89_src/dialects/linux/dlsof.h 2017-06-06 02:02:34.512010265 +0200
+@@ -49,12 +49,7 @@
+ #include <setjmp.h>
+ #include <unistd.h>
+ #include <netinet/in.h>
+-
+-# if defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH)
+ #include <netinet/tcp.h>
+-# else /* !defined(GLIBCV) && !defined(__UCLIBC__) && !defined(NEEDS_NETINET_TCPH) */
+-#include <linux/tcp.h>
+-# endif /* defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH) */
+
+ # if !defined(HASNORPC_H)
+ #include <rpc/rpc.h>