diff --git a/sesman/chansrv/input.h b/sesman/chansrv/input.h index 1062d886..dd18502a 100644 --- a/sesman/chansrv/input.h +++ b/sesman/chansrv/input.h @@ -16,6 +16,7 @@ * limitations under the License. * */ +#ifdef XRDP_IBUS #if !defined(INPUT_H) #define INPUT_H @@ -32,4 +33,6 @@ xrdp_input_unicode_init(); int xrdp_input_unicode_destory(); +#endif + #endif \ No newline at end of file diff --git a/sesman/chansrv/input_ibus.c b/sesman/chansrv/input_ibus.c index cffe0667..44dc4a70 100644 --- a/sesman/chansrv/input_ibus.c +++ b/sesman/chansrv/input_ibus.c @@ -17,6 +17,8 @@ * limitations under the License. */ +#ifdef XRDP_IBUS + #if defined(HAVE_CONFIG_H) #include #endif @@ -245,4 +247,6 @@ xrdp_input_unicode_init() } return 1; -} \ No newline at end of file +} + +#endif \ No newline at end of file