summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metaentry.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/metaentry.c b/src/metaentry.c
index f3ba692..fdb7f71 100644
--- a/src/metaentry.c
+++ b/src/metaentry.c
@@ -32,9 +32,13 @@
#include <fcntl.h>
#include <stdint.h>
#include <errno.h>
-#include <bsd/string.h>
#include <time.h>
+#include <sys/param.h>
+#ifndef BSD
+# include <bsd/string.h>
+#endif
+
#include "metastore.h"
#include "metaentry.h"
#include "utils.h"