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

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