aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.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/dirvec.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 '')
-rw-r--r--src/dirvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dirvec.c b/src/dirvec.c
index 9226fca74..589e8d0fe 100644
--- a/src/dirvec.c
+++ b/src/dirvec.c
@@ -1,8 +1,9 @@
#include "dirvec.h"
#include "directory.h"
-#include "os_compat.h"
#include "utils.h"
+#include <string.h>
+
static size_t dv_size(struct dirvec *dv)
{
return dv->nr * sizeof(struct directory *);