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

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