aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
commit71351160b1b6fd4203f27f9159ae39a476483e1a (patch)
tree03d42cd94df49372c3ac05034eb6e1e0f91d3077 /src/log.c
parentca68b1c80a29cb4862c6b732b339a5cbcfcecf51 (diff)
downloadmpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.gz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.xz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.zip
don't include os_compat.h
When there are standardized headers, use these instead of the bloated os_compat.h.
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 6f739797c..000c1575c 100644
--- a/src/log.c
+++ b/src/log.c
@@ -20,7 +20,13 @@
#include "conf.h"
#include "utils.h"
-#include "os_compat.h"
+
+#include <assert.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <string.h>
+#include <stdarg.h>
+#include <fcntl.h>
#define LOG_DATE_BUF_SIZE 16
#define LOG_DATE_LEN (LOG_DATE_BUF_SIZE - 1)