From a269125c73e54a72953cda8accda949bba0d8bbd Mon Sep 17 00:00:00 2001 From: jozan Date: Wed, 4 Nov 2020 18:25:53 +0000 Subject: Prompting for confirmation FossilOrigin-Name: bf69cb11af18c6c4bc824c100d80ade120e14c521db8c9d3389e752fa757a6c7 --- src/c_opts.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/c_opts.h') diff --git a/src/c_opts.h b/src/c_opts.h index cbe2e54..16b2ce8 100644 --- a/src/c_opts.h +++ b/src/c_opts.h @@ -46,9 +46,15 @@ #ifndef __C_OPTS_H__ #define __C_OPTS_H__ value +#ifdef __linux__ +# include +#else +# include +#endif + #include "c_unixize.h" -#define C_OPTS "hpnRv" +#define C_OPTS "hinpRv" struct opts_s { bool_t recursive; @@ -56,8 +62,9 @@ struct opts_s { bool_t pretend; bool_t hidden; bool_t hyphen; + char dir[PATH_MAX]; }; -void c_opts(struct opts_s*, int, const char*[]); +void c_get_opts(struct opts_s*, int, const char*[]); #endif /* ifndef __C_OPTS_H__ */ -- cgit v1.2.3