From 345250b89fed6ca568e3a176efa678a35bcbda61 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Mon, 30 Apr 2018 02:10:59 +0300 Subject: [PATCH] zdtm: include lock.h after zdtmtst.h In file included from s390x_gs_threads.c:10:0: ../lib/lock.h: In function 'mutex_lock': ../lib/lock.h:148:4: error: implicit declaration of function 'pr_perror' [-Werror=implicit-function-declaration] pr_perror("futex"); Reported-by: Mr Jenkins Signed-off-by: Andrei Vagin --- test/zdtm/static/s390x_gs_threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zdtm/static/s390x_gs_threads.c b/test/zdtm/static/s390x_gs_threads.c index 486b32087..7d3a07521 100644 --- a/test/zdtm/static/s390x_gs_threads.c +++ b/test/zdtm/static/s390x_gs_threads.c @@ -7,8 +7,8 @@ #include #include -#include "lock.h" #include "zdtmtst.h" +#include "lock.h" #define NR_THREADS 4 #define GS_ENABLE 0