forked from openembedded/openembedded-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ltp: Remove use of obsolete glibc header sys/kdaemon.h
This header has been removed from glibc 2.23+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
meta/recipes-extended/ltp/ltp/0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From b39f1326f4b0e56a3dcb992c447e0ae00517a501 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <raj.khem@gmail.com> | ||
Date: Fri, 1 Jan 2016 11:24:21 +0000 | ||
Subject: [PATCH] remove inclusion of deprecated sys/kdaemon.h header | ||
|
||
glibc 2.23+ has dropped this header and moreover its not used in | ||
testcase | ||
|
||
Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
--- | ||
Upstream-Status: Pending | ||
|
||
testcases/kernel/syscalls/bdflush/bdflush01.c | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/testcases/kernel/syscalls/bdflush/bdflush01.c b/testcases/kernel/syscalls/bdflush/bdflush01.c | ||
index df739f1..a529ba9 100644 | ||
--- a/testcases/kernel/syscalls/bdflush/bdflush01.c | ||
+++ b/testcases/kernel/syscalls/bdflush/bdflush01.c | ||
@@ -81,7 +81,6 @@ | ||
#include <unistd.h> | ||
#include <errno.h> | ||
#include <sys/stat.h> | ||
-#include <sys/kdaemon.h> | ||
|
||
#include "test.h" | ||
#include "linux_syscall_numbers.h" | ||
-- | ||
2.6.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters