diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-01-03 08:28:16 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-01-03 08:28:16 +0100 |
commit | 27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab (patch) | |
tree | bf56f6d0d922cf3eefb0e413e9326a2e60373dd8 /include | |
parent | 8ed57db65ba66709d3b4061c4f03766f1fe58780 (diff) | |
download | busybox-w32-27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab.tar.gz busybox-w32-27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab.tar.bz2 busybox-w32-27be0e8cfeb6f0f7a66bbfb2a6ca23d5a064e6ab.zip |
shell: fix compile failures in some configs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 19ed9ec09..cca33a177 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1939,9 +1939,15 @@ typedef struct line_input_t { | |||
1939 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH | 1939 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH |
1940 | /* function to fetch additional application-specific names to match */ | 1940 | /* function to fetch additional application-specific names to match */ |
1941 | get_exe_name_t *get_exe_name; | 1941 | get_exe_name_t *get_exe_name; |
1942 | # endif | ||
1943 | # endif | ||
1944 | # if (ENABLE_FEATURE_USERNAME_COMPLETION || ENABLE_FEATURE_EDITING_FANCY_PROMPT) \ | ||
1945 | && (ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH) | ||
1942 | /* function to fetch value of shell variable */ | 1946 | /* function to fetch value of shell variable */ |
1943 | sh_get_var_t *sh_get_var; | 1947 | sh_get_var_t *sh_get_var; |
1944 | # endif | 1948 | # define EDITING_HAS_sh_get_var 1 |
1949 | # else | ||
1950 | # define EDITING_HAS_sh_get_var 0 | ||
1945 | # endif | 1951 | # endif |
1946 | # if MAX_HISTORY | 1952 | # if MAX_HISTORY |
1947 | int cnt_history; | 1953 | int cnt_history; |