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: William Hubbs
Subject: [PATCH] Fix includes in src/tests, for make distcheck.
Date: Wed, 3 Nov 2010 11:53:59 -0500

I'll take this one.

William

On Wed, Nov 03, 2010 at 11:44:23AM +0000, Christopher Brannon wrote:
> 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
> 
> 
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20101103/7f219f41/attachment.pgp>


reply via email to

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