diff --git a/src/switch_console.c b/src/switch_console.c index 91f889b5d7..984279b09f 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -35,6 +35,7 @@ #include #define CMD_BUFLEN 1024; +#ifdef SWITCH_HAVE_LIBEDIT /* * store a strdup() of the string configured in XML * bound to each of the 12 function key @@ -82,7 +83,7 @@ static switch_status_t console_xml_config(void) return SWITCH_STATUS_SUCCESS; } - +#endif SWITCH_DECLARE_NONSTD(switch_status_t) switch_console_stream_raw_write(switch_stream_handle_t *handle, uint8_t *data, switch_size_t datalen) {