[CRIU] [PATCH 4/6] string: include bsd/string.h if libbsd is available

Ruslan Kuprieiev kupruser at gmail.com
Fri Mar 21 00:27:05 PDT 2014


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 include/string.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/string.h b/include/string.h
index 8454b4d..1d16dd0 100644
--- a/include/string.h
+++ b/include/string.h
@@ -6,6 +6,10 @@
 
 #include "config.h"
 
+#ifdef CONFIG_HAS_LIBBSD
+#include <bsd/string.h>
+#endif
+
 #ifndef CONFIG_HAS_STRLCPY
 extern size_t strlcpy(char *dest, const char *src, size_t size);
 #endif
-- 
1.8.3.2



More information about the CRIU mailing list