summaryrefslogtreecommitdiff
path: root/user/lsof/test-linux-sysmacros.patch
blob: 1764f5369b864a26aad4d90f7c84d41b49bbfe7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- lsof_4.91/tests/LTlib.c	2017-09-10 19:05:11.000000000 -0400
+++ lsof_4.91/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
  */