diff options
author | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-09 00:44:16 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2016-01-09 00:44:16 +0100 |
commit | f256eda0f284f727ab2553934d19fdc94f401fa5 (patch) | |
tree | 0597b71c08195f6826cc1e26094e2ddb8a277aff /src/metaentry.c | |
parent | d32bae954a47ad36537272cc405e1ee59aa7549b (diff) |
metaentry.c: Include <bsd/string.h> only on non-BSD platforms.
Diffstat (limited to 'src/metaentry.c')
-rw-r--r-- | src/metaentry.c | 6 |
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" |