speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 2/2] Make some includes consistent with POSIX


From: Felix Janda
Subject: [PATCH 2/2] Make some includes consistent with POSIX
Date: Mon, 23 Mar 2015 21:03:29 +0100

---
 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.0.5



reply via email to

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