basic: include only what we use

This is a cleaned up result of running iwyu but without forward
declarations on src/basic.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-30 21:51:03 +01:00
parent bca27e1729
commit 11c3a36649
128 changed files with 481 additions and 135 deletions
+3 -1
View File
@@ -21,6 +21,9 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdbool.h>
#include <time.h>
#include <linux/rtc.h>
#include <stdio.h>
#include <sys/ioctl.h>
@@ -30,7 +33,6 @@
#include "fd-util.h"
#include "macro.h"
#include "string-util.h"
#include "util.h"
int clock_get_hwclock(struct tm *tm) {
_cleanup_close_ int fd = -1;