From 4ea1c1e14d8ee67b2e7a6a4665747ccd87fec479 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 6 Apr 2020 23:07:02 +0200 Subject: Fix missing struct option field in getopt_long stub Signed-off-by: David Oberhollenzer --- include/compat.h | 1 + 1 file changed, 1 insertion(+) 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; }; -- cgit v1.2.3