summaryrefslogtreecommitdiffstats
path: root/utils/MTP/sendfirm.c
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2021-06-10 04:04:53 +0000
committerJames Buren <braewoods+rb@braewoods.net>2021-06-11 19:32:35 +0000
commitab0f23c4b17dfb4f7aa37cdc0e504c2512112fc0 (patch)
tree0caf4264a24ee6fcd3c432d0ca59e8dce7353ff0 /utils/MTP/sendfirm.c
parentd01f3192f2a1a34d28ee701e8c397cd7f1827b88 (diff)
downloadrockbox-ab0f23c4b17dfb4f7aa37cdc0e504c2512112fc0.tar.gz
rockbox-ab0f23c4b17dfb4f7aa37cdc0e504c2512112fc0.zip
sendfirm: fix some minor issues
This patches some compile warnings and also makes it work correctly with modern mingw64. Change-Id: I8cd292bc989ae04bbaa1d7149d58d6d833a51c0a
Diffstat (limited to 'utils/MTP/sendfirm.c')
-rw-r--r--utils/MTP/sendfirm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/MTP/sendfirm.c b/utils/MTP/sendfirm.c
index 5fe970797e..f06f183e02 100644
--- a/utils/MTP/sendfirm.c
+++ b/utils/MTP/sendfirm.c
@@ -26,6 +26,7 @@
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
+#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include <sys/stat.h>