[ovs-dev] [PATCH 06/22] include strings.h for strcasecmp

YAMAMOTO Takashi yamt at mwd.biglobe.ne.jp
Mon Apr 22 13:20:04 UTC 2013


while this is not the only place strcasecmp is used without an
explicit inclusion of the header, it's the only place gcc complains
on my environment.  for other places, probably the header is included
indirectly via other headers, i guess.

Signed-off-by: YAMAMOTO Takashi <yamt at mwd.biglobe.ne.jp>
---
 lib/smap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/smap.c b/lib/smap.c
index 54b339f..0d75733 100644
--- a/lib/smap.c
+++ b/lib/smap.c
@@ -15,6 +15,8 @@
 #include <config.h>
 #include "smap.h"
 
+#include <strings.h>
+
 #include "hash.h"
 #include "json.h"
 
-- 
1.8.0.1




More information about the dev mailing list