diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:29 +0200 |
commit | 71351160b1b6fd4203f27f9159ae39a476483e1a (patch) | |
tree | 03d42cd94df49372c3ac05034eb6e1e0f91d3077 /src/dirvec.c | |
parent | ca68b1c80a29cb4862c6b732b339a5cbcfcecf51 (diff) | |
download | mpd-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.c | 3 |
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 *); |