summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/include
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-01-11 18:11:14 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-01-19 20:30:15 +0300
commit083f345151938706d33969b37b92e7e13ab02b3e (patch)
tree38763d6a8235e7f8c2c0002507afdb18b1bd0af8 /tools/testing/selftests/futex/include
parent3e91293ffccafe30daa7310526bbfbc287e0c0fd (diff)
downloadlinux-083f345151938706d33969b37b92e7e13ab02b3e.tar.xz
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/include')
-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>