diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-09-02 17:19:38 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-09-02 17:19:38 +0200 |
commit | 666f37efc08c20fa37b6a8ca5967b066118f56aa (patch) | |
tree | e210bea80ce78ff3a9baa5b2621e5b6b8b835a71 | |
parent | 98e1be528f8c39a5c196ce251338e24bca948d90 (diff) | |
download | libtdevnc-666f37efc08c20fa37b6a8ca5967b066118f56aa.tar.gz libtdevnc-666f37efc08c20fa37b6a8ca5967b066118f56aa.zip |
Fix building whithout SASL
-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; |