1
0
mirror of https://github.com/ceph/ceph synced 2025-03-25 11:48:05 +00:00

build: FreeBSD allow kv_store tools to be build

This requires defining
`EUCLEAN`
`EKEYREJECTED`
which are defined in Linux asm-generic/error.h

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Willem Jan Withagen 2018-11-28 14:00:57 +01:00
parent 4db915d06d
commit dbbe633687
3 changed files with 8 additions and 1 deletions
do_freebsd.sh
src
include
key_value_store

View File

@ -48,7 +48,7 @@ fi
-D WITH_FUSE=ON \
-D WITH_KRBD=OFF \
-D WITH_XFS=OFF \
-D WITH_KVS=OFF \
-D WITH_KVS=ON \
-D CEPH_MAN_DIR=man \
-D WITH_LIBCEPHFS=OFF \
-D WITH_CEPHFS=OFF \

View File

@ -79,9 +79,15 @@
/* get PATH_MAX */
#include <limits.h>
#ifndef EUCLEAN
#define EUCLEAN 117
#endif
#ifndef EREMOTEIO
#define EREMOTEIO 121
#endif
#ifndef EKEYREJECTED
#define EKEYREJECTED 129
#endif
#ifndef HOST_NAME_MAX
#ifdef MAXHOSTNAMELEN

View File

@ -5,6 +5,7 @@
* Author: Eleanor Cawthon
*/
#include "include/compat.h"
#include "objclass/objclass.h"
#include <errno.h>
#include "key_value_store/kvs_arg_types.h"