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

11 lines
299 B
Diff

--- fexc.c 2015-02-26 21:35:40.000000000 +0100
+++ 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__)