You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
494 B

--- progress/progress.c 2019-09-06 19:43:06.150151728 +0800
+++ progress_mod/progress.c 2019-09-08 10:27:05.529574702 +0800
@@ -32,7 +32,20 @@
#include <assert.h>
#include <curses.h>
-#include <wordexp.h>
+/*
+*#include <wordexp.h>
+*Android without wordexp support
+*/
+typedef struct {
+ size_t we_wordc;
+ char **we_wordv;
+ size_t we_offs;
+} wordexp_t;
+static inline int wordexp(const char *c, wordexp_t *w, int _i)
+{
+ return -1;
+}
+
#include <getopt.h>
#include <sys/ioctl.h>