Blame SOURCES/ltrace-0.7.91-testsuite-includes-2.patch

39d69a
From 57dbe34ea7aa54b97e11406e1cfb2e427a68779e Mon Sep 17 00:00:00 2001
39d69a
From: Petr Machata <pmachata@redhat.com>
39d69a
Date: Wed, 8 Apr 2015 16:04:13 +0200
39d69a
Subject: [PATCH] Fix warnings in compilation of test-suite cases
39d69a
39d69a
---
39d69a
 testsuite/ltrace.main/signals.c    | 5 +++--
39d69a
 testsuite/ltrace.minor/wchar.exp   | 3 ++-
39d69a
 testsuite/ltrace.torture/signals.c | 5 +++--
39d69a
 3 files changed, 8 insertions(+), 5 deletions(-)
39d69a
39d69a
diff --git a/testsuite/ltrace.main/signals.c b/testsuite/ltrace.main/signals.c
39d69a
index a02e795..ab23fc7 100644
39d69a
--- a/testsuite/ltrace.main/signals.c
39d69a
+++ b/testsuite/ltrace.main/signals.c
39d69a
@@ -2,9 +2,10 @@
39d69a
    Objectives  : Verify that ltrace can trace user defined signal.
39d69a
    This file was written by Yao Qi <qiyao@cn.ibm.com>. */
39d69a
 
39d69a
-#include<stdio.h>
39d69a
-#include<signal.h>
39d69a
+#include <stdio.h>
39d69a
+#include <signal.h>
39d69a
 #include <sys/types.h>
39d69a
+#include <unistd.h>
39d69a
 
39d69a
 #define LOOP	7
39d69a
 
39d69a
diff --git a/testsuite/ltrace.torture/signals.c b/testsuite/ltrace.torture/signals.c
39d69a
index b786c81..c66416e 100644
39d69a
--- a/testsuite/ltrace.torture/signals.c
39d69a
+++ b/testsuite/ltrace.torture/signals.c
39d69a
@@ -2,9 +2,10 @@
39d69a
    Objectives  : Verify that ltrace can trace user defined signal.
39d69a
    This file was written by Yao Qi <qiyao@cn.ibm.com>. */
39d69a
 
39d69a
-#include<stdio.h>
39d69a
-#include<signal.h>
39d69a
+#include <stdio.h>
39d69a
+#include <signal.h>
39d69a
 #include <sys/types.h>
39d69a
+#include <unistd.h>
39d69a
 
39d69a
 #define LOOP	20
39d69a
 
39d69a
-- 
39d69a
2.3.5
39d69a