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

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