summaryrefslogtreecommitdiff
path: root/user/lsof/test-linux-sysmacros.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-09-15 19:57:27 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-09-15 19:57:27 +0000
commitde7967e51d8a8b525054bca4dd72dae1b32a48dd (patch)
tree03a2aa07ef7fb39429fcdd30eb135f95cc00a35b /user/lsof/test-linux-sysmacros.patch
parent08294103e020db88bb755990d1049627087a4807 (diff)
parent027b6fd1887a746f3b38741a8baa63f2f73face1 (diff)
downloadpackages-de7967e51d8a8b525054bca4dd72dae1b32a48dd.tar.gz
packages-de7967e51d8a8b525054bca4dd72dae1b32a48dd.tar.bz2
packages-de7967e51d8a8b525054bca4dd72dae1b32a48dd.tar.xz
packages-de7967e51d8a8b525054bca4dd72dae1b32a48dd.zip
Merge branch 'lsof' into 'master'
user/lsof: new package See merge request !54
Diffstat (limited to 'user/lsof/test-linux-sysmacros.patch')
-rw-r--r--user/lsof/test-linux-sysmacros.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/lsof/test-linux-sysmacros.patch b/user/lsof/test-linux-sysmacros.patch
new file mode 100644
index 000000000..bc75a9f39
--- /dev/null
+++ b/user/lsof/test-linux-sysmacros.patch
@@ -0,0 +1,15 @@
+--- lsof_4.91/lsof_4.91_src/tests/LTlib.c 2017-09-10 19:05:11.000000000 -0400
++++ lsof_4.91/lsof_4.91_src/tests/LTlib.c 2018-09-12 18:05:26.719569950 -0400
+@@ -189,6 +189,12 @@
+ #endif /* defined(LT_DIAL_uw) */
+
+
++#if defined(__linux__)
++#undef _SYS_SYSMACROS_H
++#include <sys/sysmacros.h>
++#endif
++
++
+ /*
+ * Global variables
+ */