Skip to content

Commit

Permalink
ltp: Remove use of obsolete glibc header sys/kdaemon.h
Browse files Browse the repository at this point in the history
This header has been removed from glibc 2.23+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Jan 4, 2016
1 parent 5f89cdd commit 8f6392f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
@@ -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

1 change: 1 addition & 0 deletions meta/recipes-extended/ltp/ltp_20150903.bb
Expand Up @@ -30,6 +30,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://add-knob-for-tirpc.patch \
file://0001-ltp-vma03-fix-the-alginment-of-page-size.patch \
file://0001-Fix-compilation-for-gcc-5.x.patch \
file://0001-remove-inclusion-of-deprecated-sys-kdaemon.h-header.patch \
"

S = "${WORKDIR}/git"
Expand Down

0 comments on commit 8f6392f

Please sign in to comment.