]> git.meshlink.io Git - meshlink/commitdiff
Fix compiler warning of implicit declaration of function ‘str[n]casecmp’ [-Werror...
authorSaverio Proto <zioproto@gmail.com>
Sun, 1 Jun 2014 16:54:35 +0000 (18:54 +0200)
committerSaverio Proto <zioproto@gmail.com>
Sun, 1 Jun 2014 16:54:35 +0000 (18:54 +0200)
examples/chat.c

index c33bbae462319f49557aa5246db770849c30ebbb..70d17d7d917bf6515aaf98d1fb97bea2f969df22 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include "../src/meshlink.h"
 
 static void log_message(meshlink_handle_t *mesh, meshlink_log_level_t level, const char *text) {