diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 847082aebf..f3644cceb0 100644 --- a/src/eval.c +++ b/src/eval.c @@ -61,6 +61,7 @@ #include "version.h" #include "window.h" #include "os/os.h" +#include "os/shell.h" #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) # include <math.h> @@ -14543,7 +14544,7 @@ static void f_system(typval_T *argvars, typval_T *rettv) } res = get_cmd_output(get_tv_string(&argvars[0]), infile, - SHELL_SILENT | SHELL_COOKED); + kShellOptSilent | kShellOptCooked); #ifdef USE_CR /* translate <CR> into <NL> */ |