summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-01-09 00:44:16 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-01-09 00:44:16 +0100
commitf256eda0f284f727ab2553934d19fdc94f401fa5 (patch)
tree0597b71c08195f6826cc1e26094e2ddb8a277aff
parentd32bae954a47ad36537272cc405e1ee59aa7549b (diff)
metaentry.c: Include <bsd/string.h> only on non-BSD platforms.
-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"