aboutsummaryrefslogtreecommitdiffstats
path: root/testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch')
-rw-r--r--testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch b/testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch
new file mode 100644
index 0000000000..d7947b7751
--- /dev/null
+++ b/testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch
@@ -0,0 +1,54 @@
+From f2dda28648de4bd940be54e827878f081af22ebc Mon Sep 17 00:00:00 2001
+From: Felix Janda <felix.janda@posteo.de>
+Date: Mon, 23 Mar 2015 21:03:29 +0100
+Subject: [PATCH] Make some includes consistent with POSIX
+
+Reviewed-by: Luke Yelavich <themuso@themuso.com>
+---
+ src/modules/cicero.c | 2 +-
+ src/modules/spd_audio.c | 2 +-
+ src/server/module.c | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/modules/cicero.c b/src/modules/cicero.c
+index 62332a5..2c69b7e 100644
+--- a/src/modules/cicero.c
++++ b/src/modules/cicero.c
+@@ -28,7 +28,7 @@
+ #include <speechd_types.h>
+ #include <safe_io.h>
+ #include <errno.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <fcntl.h>
+ #include <langinfo.h>
+ #include <sys/stat.h>
+diff --git a/src/modules/spd_audio.c b/src/modules/spd_audio.c
+index 3b65bf7..c85e21d 100644
+--- a/src/modules/spd_audio.c
++++ b/src/modules/spd_audio.c
+@@ -38,7 +38,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
+-#include <sys/fcntl.h>
++#include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
+ #include <time.h>
+diff --git a/src/server/module.c b/src/server/module.c
+index 0681caf..51746a0 100644
+--- a/src/server/module.c
++++ b/src/server/module.c
+@@ -29,7 +29,7 @@
+ #include <sys/types.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+ #include <stdio.h>
+ #include <dirent.h>
+ #include <glib.h>
+--
+2.4.0
+