aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-01-12 00:11:14 +0900
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-19 10:30:15 -0700
commit083f345151938706d33969b37b92e7e13ab02b3e (patch)
tree38763d6a8235e7f8c2c0002507afdb18b1bd0af8 /tools/testing/selftests/futex
parentselftests: x86 protection_keys remove dead code (diff)
downloadlinux-dev-083f345151938706d33969b37b92e7e13ab02b3e.tar.xz
linux-dev-083f345151938706d33969b37b92e7e13ab02b3e.zip
selftests/futex: Add stdio used for logging
Fix missing printf compile warnings. Signed-off-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex')
-rw-r--r--tools/testing/selftests/futex/include/logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/futex/include/logging.h b/tools/testing/selftests/futex/include/logging.h
index 014aa01197af..e14469103f07 100644
--- a/tools/testing/selftests/futex/include/logging.h
+++ b/tools/testing/selftests/futex/include/logging.h
@@ -21,6 +21,7 @@
#ifndef _LOGGING_H
#define _LOGGING_H
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <linux/futex.h>