This fixes the following error with musl libc:
In file included from start.c:59:0:
log.h: In function 'lxc_log_priority_to_int':
log.h:136:2: error: implicit declaration of function 'strcasecmp' 
[-Werror=implicit-function-declaration]

Signed-off-by: Natanael Copa <[email protected]>
---
 src/lxc/log.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/log.h b/src/lxc/log.h
index 4a42665..4a9714a 100644
--- a/src/lxc/log.h
+++ b/src/lxc/log.h
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <sys/time.h>
 #include <string.h>
+#include <strings.h>
 #include <stdbool.h>
 
 #ifndef O_CLOEXEC
-- 
1.8.5.3

_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to