]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Fix json.c compile on older platforms
authorDonald Sharp <shaprd@cumulusnetworks.com>
Fri, 15 Apr 2016 19:01:46 +0000 (15:01 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 15 Apr 2016 19:02:58 +0000 (15:02 -0400)
The header file inclusions for json.c was wrong.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/json.c

index f78bfcd844414815bbe454ace7df7b2478165676..58f0e995f2e573918e7241405b77637f5bd3f3bb 100644 (file)
@@ -19,7 +19,8 @@
  * 02111-1307, USA.
  */
 
-#include <string.h>
+#include <zebra.h>
+
 #include "lib/json.h"
 
 /*