swconfig: Add missing include
authorRosen Penev <rosenp@gmail.com>
Thu, 6 Dec 2018 21:12:06 +0000 (13:12 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Dec 2018 23:57:19 +0000 (00:57 +0100)
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
package/network/config/swconfig/src/swlib.c

index e457ce4882aa0fbaee205ab1708115d2ffa52710..8b1d6cd64ae5909e877c70cfffb96077b95dd6e7 100644 (file)
@@ -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
index 0fb8ebb392c63f6e8a659d5645d22ccc257adc46..0e09a1505ba249df03db7a7b659fa13e85b22c66 100644 (file)
@@ -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>