summaryrefslogtreecommitdiff
path: root/src/check_tmpl.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-26 18:12:29 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-26 18:12:29 -0800
commitd777950023130447aaafa67df6bea41f67bcf8e0 (patch)
tree316c497555782f67d2052d70e93643278254cfd3 /src/check_tmpl.c
parentf9ee85510c958f07191cdbb7c3f57f2cf226a6d3 (diff)
downloadvyatta-cfg-d777950023130447aaafa67df6bea41f67bcf8e0.tar.gz
vyatta-cfg-d777950023130447aaafa67df6bea41f67bcf8e0.zip
fix for bug 2749: add u32 range check
Diffstat (limited to 'src/check_tmpl.c')
-rw-r--r--src/check_tmpl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/check_tmpl.c b/src/check_tmpl.c
index 8be1a7f..cbb9aa1 100644
--- a/src/check_tmpl.c
+++ b/src/check_tmpl.c
@@ -1,5 +1,8 @@
+#define _ISOC99_SOURCE
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
+#include <ctype.h>
#include "cli_val.h"