include strings.h for strcasecmp
authorYAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Mon, 22 Apr 2013 13:20:04 +0000 (22:20 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 22 Apr 2013 15:46:13 +0000 (08:46 -0700)
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@mwd.biglobe.ne.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/smap.c

index 54b339f..0d75733 100644 (file)
@@ -15,6 +15,8 @@
 #include <config.h>
 #include "smap.h"
 
+#include <strings.h>
+
 #include "hash.h"
 #include "json.h"