summaryrefslogtreecommitdiff
path: root/src/shared/sleep-config.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
commite28039b2eba3abc6a74d24c226fb1cecfa6f7545 (patch)
tree9f873c7724d95f28b35d6b9b28915cefb04af55d /src/shared/sleep-config.c
parentc8a65ef42da42bc2584162d273b64c66d76f4dae (diff)
parent22ebb9e4a9d8802b194eccc050552d0e188af489 (diff)
Merge pull request #2107 from phomes/misc
Misc cleanups
Diffstat (limited to 'src/shared/sleep-config.c')
-rw-r--r--src/shared/sleep-config.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index 39b836d053..7ba11e2f0e 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -19,7 +19,13 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <errno.h>
+#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
+#include <string.h>
+#include <syslog.h>
+#include <unistd.h>
#include "alloc-util.h"
#include "conf-parser.h"
@@ -27,11 +33,11 @@
#include "fd-util.h"
#include "fileio.h"
#include "log.h"
+#include "macro.h"
#include "parse-util.h"
#include "sleep-config.h"
#include "string-util.h"
#include "strv.h"
-#include "util.h"
#define USE(x, y) do{ (x) = (y); (y) = NULL; } while(0)