package/ltp-testsuite: Add upstream patch to fix build on uClibc-ng

Fixes:
http://autobuild.buildroot.net/results/6c0506423c76b61018da26c2549570e3d9eb5763/

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Petr Vorel 2017-12-07 18:29:00 +01:00 committed by Peter Korsgaard
parent 6ea65bdfcf
commit 9e46f59482

View File

@ -0,0 +1,28 @@
From 0ee59c66f4e4930d543395fb8617e26cf8b22025 Mon Sep 17 00:00:00 2001
From: Petr Vorel <pvorel@suse.cz>
Date: Thu, 7 Dec 2017 17:37:01 +0100
Subject: [PATCH] syscalls/mknodat: Fix missing config
Found by buildroot project, where this broke build on uClibc-ng, thanks!
http://autobuild.buildroot.net/results/6c0506423c76b61018da26c2549570e3d9eb5763/build-end.log
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/syscalls/mknodat/mknodat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/mknodat/mknodat.h b/testcases/kernel/syscalls/mknodat/mknodat.h
index 577d5ac9c..b4e828c5d 100644
--- a/testcases/kernel/syscalls/mknodat/mknodat.h
+++ b/testcases/kernel/syscalls/mknodat/mknodat.h
@@ -22,6 +22,7 @@
#define MKNODAT_H
#include <sys/types.h>
+#include "config.h"
#include "lapi/syscalls.h"
#if !defined(HAVE_MKNODAT)
--
2.15.0