Message ID | 20181206211206.2418-1-rosenp@gmail.com |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show |
Series | [OpenWrt-Devel] swconfig: Add missing include | expand |
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 <nbd@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>
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 <rosenp@gmail.com> --- package/network/config/swconfig/Makefile | 2 +- package/network/config/swconfig/src/swlib.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)