From 666f37efc08c20fa37b6a8ca5967b066118f56aa Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Sat, 2 Sep 2017 17:19:38 +0200 Subject: [PATCH] Fix building whithout SASL --- client_examples/ppmtest.c | 2 ++ 1 file changed, 2 insertions(+) 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;