Skip to content
Snippets Groups Projects

Fix ftbfs due to missing major/minor macros in tests

Merged Ritesh Raj Sarraf requested to merge wip/rietsh/fix-ftbfs-sysmacros into apertis/v2021dev3
All threads resolved!
3 files
+ 44
0
Compare changes
  • Side-by-side
  • Inline
Files
3
From: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
Date: Thu, 16 Jul 2020 20:04:35 +0530
Subject: Drop the test for the Linux kernel version
+3
Because Buster itself is 4.9.xx and our build servers as well as out
customer's build server could be using an even older version of the
kernel
Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
---
tests/LsofTest.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/LsofTest.h b/tests/LsofTest.h
index d1a9c96..3855364 100644
--- a/tests/LsofTest.h
+++ b/tests/LsofTest.h
@@ -78,10 +78,10 @@
#include <sys/types.h>
-#if defined(LT_DIAL_linux) && LT_VERS>=414014
+#if defined(LT_DIAL_linux)
#undef major
#include <sys/sysmacros.h>
-#endif /* defined(LT_DIAL_linux) && LT_VERS>=414014 */
+#endif /* defined(LT_DIAL_linux) */
#include <sys/param.h>
#include <sys/stat.h>
Loading