aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shells/fish/files/patch-src_wgetopt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/fish/files/patch-src_wgetopt.h b/shells/fish/files/patch-src_wgetopt.h
new file mode 100644
index 00000000000..c819be76883
--- /dev/null
+++ b/shells/fish/files/patch-src_wgetopt.h
@@ -0,0 +1,11 @@
+--- src/wgetopt.h.orig 2017-12-11 21:47:12 UTC
++++ src/wgetopt.h
+@@ -177,7 +177,7 @@ struct woption {
+ int *flag;
+ /// If \c flag is non-null, this is the value that flag will be set to. Otherwise, this is the
+ /// return-value of the function call.
+- int val;
++ wchar_t val;
+ };
+
+ // Names for the values of the `has_arg' field of `struct option'.