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

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