usbreset: Add missing header
authorRosen Penev <rosenp@gmail.com>
Sun, 7 Jul 2019 21:30:17 +0000 (14:30 -0700)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:26:39 +0000 (13:26 +0200)
Fixes undefined reference to strtoul

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 653e05d27f13fee2ab925031c5162ddb34b755f0)

package/utils/usbreset/Makefile
package/utils/usbreset/src/usbreset.c

index 5324e9d0452e31574e1e168b96834a728d71f89f..bf3160cb1a9ef0d663ee56c7f73e4731e6932029 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=usbreset
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=usbreset
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
index ead30b1d822bbf8f934c52302f6cb7981d8b349f..dc2df3cb3b5cf7e3d6ad43b7d6979c6019ccdb61 100644 (file)
@@ -37,6 +37,7 @@ Alan Stern
 */
 
 #include <stdio.h>
 */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>