From 93e6b81b721d9eb966a257bfdf7df6e8280b885c Mon Sep 17 00:00:00 2001
From: Chen Qi <Qi.Chen@windriver.com>
Date: Mon, 25 Feb 2019 16:37:19 +0800
Subject: [PATCH 23/24] socket-util.h: include string.h

Fix the following compile error:
src/basic/socket-util.h:187:30: error: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Werror=implicit-function-declaration]

Upstream-Status: Pending

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 src/basic/socket-util.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h
index 574d2b7..097aa4d 100644
--- a/src/basic/socket-util.h
+++ b/src/basic/socket-util.h
@@ -12,6 +12,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/un.h>
+#include <string.h>
 
 #include "macro.h"
 #include "missing_socket.h"
-- 
2.7.4

