aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirvec.c')
-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 *);