55 lines
1.4 KiB
Diff
55 lines
1.4 KiB
Diff
|
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
|
||
|
--- src/modules/cicero.c
|
||
|
+++ 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
|
||
|
--- src/modules/spd_audio.c
|
||
|
+++ 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
|
||
|
--- src/server/module.c
|
||
|
+++ 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
|
||
|
|