summaryrefslogtreecommitdiffstats
path: root/lib/json.c
diff options
context:
space:
mode:
authorDonald Sharp <shaprd@cumulusnetworks.com>2016-04-15 21:01:46 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-15 21:02:58 +0200
commit4b25d72d18f49bbd658601d27e7f0fc1955067ee (patch)
tree183b3adf7adc998de483205bf8c62d4b8d62123b /lib/json.c
parentvtysh -f needs to flock the file (diff)
downloadfrr-4b25d72d18f49bbd658601d27e7f0fc1955067ee.tar.xz
frr-4b25d72d18f49bbd658601d27e7f0fc1955067ee.zip
lib: Fix json.c compile on older platforms
The header file inclusions for json.c was wrong. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/json.c')
-rw-r--r--lib/json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/json.c b/lib/json.c
index f78bfcd84..58f0e995f 100644
--- a/lib/json.c
+++ b/lib/json.c
@@ -19,7 +19,8 @@
* 02111-1307, USA.
*/
-#include <string.h>
+#include <zebra.h>
+
#include "lib/json.h"
/*