speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix includes in src/tests, for make distcheck.


From: Christopher Brannon
Subject: [PATCH] Fix includes in src/tests, for make distcheck.
Date: Wed, 3 Nov 2010 11:44:23 +0000

We need to include speechd_types.h directly in all of the tests which
use libspeechd.h.  Otherwise, make distcheck will fail.
---
 src/tests/clibrary.c                  |    1 +
 src/tests/clibrary2.c                 |    1 +
 src/tests/connection-recovery.c       |    1 +
 src/tests/long_message.c              |    1 +
 src/tests/spd_set_notifications_all.c |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/tests/clibrary.c b/src/tests/clibrary.c
index 478deaf..ca03614 100644
--- a/src/tests/clibrary.c
+++ b/src/tests/clibrary.c
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#include "speechd_types.h"
 #include "libspeechd.h"
 
 int main() {
diff --git a/src/tests/clibrary2.c b/src/tests/clibrary2.c
index a18348f..937cf42 100644
--- a/src/tests/clibrary2.c
+++ b/src/tests/clibrary2.c
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#include "speechd_types.h"
 #include "libspeechd.h"
 
 int main() {
diff --git a/src/tests/connection-recovery.c b/src/tests/connection-recovery.c
index 29bdb25..bbf2985 100644
--- a/src/tests/connection-recovery.c
+++ b/src/tests/connection-recovery.c
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <wchar.h>
 #include <wctype.h>
+#include "speechd_types.h"
 #include <libspeechd.h>
 #include <signal.h>
 #include <unistd.h>
diff --git a/src/tests/long_message.c b/src/tests/long_message.c
index cdf9325..ceadd63 100644
--- a/src/tests/long_message.c
+++ b/src/tests/long_message.c
@@ -29,6 +29,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "speechd_types.h"
 #include "libspeechd.h"
 
 int main() {
diff --git a/src/tests/spd_set_notifications_all.c 
b/src/tests/spd_set_notifications_all.c
index 4373f89..ae44089 100644
--- a/src/tests/spd_set_notifications_all.c
+++ b/src/tests/spd_set_notifications_all.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include "speechd_types.h"
 #include "libspeechd.h"
 
 #define TEST_NAME __FILE__
-- 
1.7.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]