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 5324e9d0452e31574e1e168b96834a728d71f89f..bf3160cb1a9ef0d663ee56c7f73e4731e6932029 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 ead30b1d822bbf8f934c52302f6cb7981d8b349f..dc2df3cb3b5cf7e3d6ad43b7d6979c6019ccdb61 100644 (file)
@@ -37,6 +37,7 @@ Alan Stern
 */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>