Fixes these warnings:

swlib.c:455:18: warning: implicit declaration of function 'isspace'
swlib.c:461:9: warning: implicit declaration of function 'isdigit'

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 package/network/config/swconfig/Makefile    | 2 +-
 package/network/config/swconfig/src/swlib.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/network/config/swconfig/Makefile 
b/package/network/config/swconfig/Makefile
index e457ce4882..8b1d6cd64a 100644
--- a/package/network/config/swconfig/Makefile
+++ b/package/network/config/swconfig/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
-PKG_RELEASE:=11
+PKG_RELEASE:=12
 
 PKG_MAINTAINER:=Felix Fietkau <n...@nbd.name>
 PKG_LICENSE:=GPL-2.0
diff --git a/package/network/config/swconfig/src/swlib.c 
b/package/network/config/swconfig/src/swlib.c
index 0fb8ebb392..0e09a1505b 100644
--- a/package/network/config/swconfig/src/swlib.c
+++ b/package/network/config/swconfig/src/swlib.c
@@ -16,6 +16,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <ctype.h>
 #include <inttypes.h>
 #include <errno.h>
 #include <stdint.h>
-- 
2.19.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to