diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index b8ec83927..fe99e5eec 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -590,7 +590,10 @@ void bb_sanitize_stdio(void); | |||
590 | 590 | ||
591 | extern const char *opt_complementary; | 591 | extern const char *opt_complementary; |
592 | #if ENABLE_GETOPT_LONG | 592 | #if ENABLE_GETOPT_LONG |
593 | extern const struct option *applet_long_options; | 593 | #define No_argument "\0" |
594 | #define Required_argument "\001" | ||
595 | #define Optional_argument "\002" | ||
596 | extern const char *applet_long_options; | ||
594 | #endif | 597 | #endif |
595 | extern uint32_t option_mask32; | 598 | extern uint32_t option_mask32; |
596 | extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); | 599 | extern uint32_t getopt32(int argc, char **argv, const char *applet_opts, ...); |