aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-07 14:30:17 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2019-07-08 17:01:54 +0200
commit653e05d27f13fee2ab925031c5162ddb34b755f0 (patch)
tree3297f7c15f3701127d5d4aecefdb76b7452eee4c /package
parent5dc7d63d0a96a1311b8eda6ef8cc3a0aeedacdf4 (diff)
downloadupstream-653e05d27f13fee2ab925031c5162ddb34b755f0.tar.gz
upstream-653e05d27f13fee2ab925031c5162ddb34b755f0.tar.bz2
upstream-653e05d27f13fee2ab925031c5162ddb34b755f0.zip
usbreset: Add missing header
Fixes undefined reference to strtoul Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/utils/usbreset/Makefile2
-rw-r--r--package/utils/usbreset/src/usbreset.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/utils/usbreset/Makefile b/package/utils/usbreset/Makefile
index 5324e9d045..bf3160cb1a 100644
--- a/package/utils/usbreset/Makefile
+++ b/package/utils/usbreset/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=usbreset
-PKG_RELEASE:=4
+PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk
diff --git a/package/utils/usbreset/src/usbreset.c b/package/utils/usbreset/src/usbreset.c
index ead30b1d82..dc2df3cb3b 100644
--- a/package/utils/usbreset/src/usbreset.c
+++ b/package/utils/usbreset/src/usbreset.c
@@ -37,6 +37,7 @@ Alan Stern
*/
#include <stdio.h>
+#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>