aboutsummaryrefslogtreecommitdiffstats
path: root/testing/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch
blob: d7947b7751254673eeff8bffb2c5f295e623824f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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