diff options
Diffstat (limited to 'client_examples/ppmtest.c')
-rw-r--r-- | client_examples/ppmtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client_examples/ppmtest.c b/client_examples/ppmtest.c index eeafc22..99ee595 100644 --- a/client_examples/ppmtest.c +++ b/client_examples/ppmtest.c @@ -74,8 +74,10 @@ main(int argc, char **argv) rfbClient* client = rfbGetClient(8,3,4); time_t t=time(NULL); +#ifdef LIBVNCSERVER_HAVE_SASL client->GetUser = getuser; client->GetPassword = getpassword; +#endif if(argc>1 && !strcmp("-print",argv[1])) { client->GotFrameBufferUpdate = PrintRect; |