From def301266373e462f4a5e90eab443087ccfc7ccc Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 8 Jan 2006 19:29:21 +0000 Subject: fix client non-jpeg/libz builds --- examples/pnmshow24.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c index b59b3b5..b44dc3e 100644 --- a/examples/pnmshow24.c +++ b/examples/pnmshow24.c @@ -3,8 +3,10 @@ #include #ifndef LIBVNCSERVER_ALLOW24BPP -#error "I need the ALLOW24BPP flag to work" -#endif +int main() { + printf("I need the ALLOW24BPP LibVNCSever flag to work\n"); +} +#else static void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl) { @@ -88,3 +90,4 @@ int main(int argc,char** argv) return(0); } +#endif -- cgit v1.2.1