void-packages/srcpkgs/sunxi-tools/patches/include_getopt.patch
2015-11-30 20:56:51 +01:00

10 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__)