aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-07 14:30:17 -0700
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:26:39 +0200
commitc00c06b877d6a7522670932ba52c217b36f72466 (patch)
tree23d059f40ff3167e2838e28c10c3ce8a52762671
parent7b06f3ba0a3014057088a5699e4adc2ff652741d (diff)
downloadupstream-c00c06b877d6a7522670932ba52c217b36f72466.tar.gz
upstream-c00c06b877d6a7522670932ba52c217b36f72466.tar.bz2
upstream-c00c06b877d6a7522670932ba52c217b36f72466.zip
usbreset: Add missing header
Fixes undefined reference to strtoul Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit 653e05d27f13fee2ab925031c5162ddb34b755f0)
-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>