usbreset: Add missing header
authorRosen Penev <rosenp@gmail.com>
Sun, 7 Jul 2019 21:30:17 +0000 (14:30 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2019 15:01:54 +0000 (17:01 +0200)
Fixes undefined reference to strtoul

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/utils/usbreset/Makefile
package/utils/usbreset/src/usbreset.c

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