aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-04-06 23:07:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-08 03:14:40 +0200
commit4ea1c1e14d8ee67b2e7a6a4665747ccd87fec479 (patch)
treeb53d75c3fca3d4c5d57cf42284318a920dc8ce99
parent27c89217968526729f11b4c4d7a68e9b756d8fc6 (diff)
Fix missing struct option field in getopt_long stub
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--include/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h
index cb5ff23..f1307ad 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -208,6 +208,7 @@ int getopt(int argc, char *const argv[], const char *optstr);
struct option {
const char *name;
int has_arg;
+ void *dummy;
int val;
};