Skip to content
Permalink
Browse files

swconfig: Add missing include

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>
  • Loading branch information...
neheb authored and hauke committed Dec 6, 2018
1 parent d2b16a5 commit 1e98d985bbefa522fca29d3e74cdc9fe513b66a5
Showing with 2 additions and 1 deletion.
  1. +1 −1 package/network/config/swconfig/Makefile
  2. +1 −0 package/network/config/swconfig/src/swlib.c
@@ -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
@@ -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>

0 comments on commit 1e98d98

Please sign in to comment.
You can’t perform that action at this time.