diff --git a/rdesktop.c b/rdesktop.c index be7ad0a..0da09b9 100644 --- a/rdesktop.c +++ b/rdesktop.c @@ -569,7 +569,11 @@ main(int argc, char *argv[]) #endif if (strncmp("off", optarg, 3) == 0) +#ifdef WITH_RDPSND g_rdpsnd = False; +#else + warning("Not compiled with sound support"); +#endif optarg = p; }