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

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