make: config -- Add testing if we have libbsd installed

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2014-03-25 01:30:11 +04:00 committed by Pavel Emelyanov
parent 5f00a9ca40
commit 0bae3bc181
3 changed files with 28 additions and 2 deletions

View file

@ -4,6 +4,10 @@
#include <sys/types.h>
#include <string.h>
#ifdef CONFIG_HAS_LIBBSD
# include <bsd/string.h>
#endif
#include "config.h"
#ifndef CONFIG_HAS_STRLCPY