void-packages/srcpkgs/sunxi-tools/patches/include_getopt.patch

11 lines
303 B
Diff

--- a/fexc.c 2015-02-26 21:35:40.000000000 +0100
+++ b/fexc.c 2015-11-27 13:31:52.663341582 +0100
@@ -25,6 +25,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#include <getopt.h>
#define pr_info(...) errf("fexc: " __VA_ARGS__)
#define pr_err(...) errf("E: fexc: " __VA_ARGS__)