lkml.org 
[lkml]   [2017]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/6] selftests/futex: Add stdio used for logging
Date
Without this I am getting warnings of printf missing when compiling
selftests.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
tools/testing/selftests/futex/include/logging.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/futex/include/logging.h b/tools/testing/selftests/futex/include/logging.h
index 014aa01..e144691 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>
--
2.9.3
\
 
 \ /
  Last update: 2017-01-11 16:12    [W:0.052 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site