aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.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/utils.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/utils.c')
-rw-r--r--src/utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f23f8c1fa..9cd2190ed 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -22,6 +22,17 @@
#include "../config.h"
+#include <assert.h>
+#include <string.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <pwd.h>
+#include <fcntl.h>
+
+#ifdef HAVE_IPV6
+#include <sys/socket.h>
+#endif
+
char *myFgets(char *buffer, int bufferSize, FILE * fp)
{
char *ret = fgets(buffer, bufferSize, fp);