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

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