summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow24.c
diff options
context:
space:
mode:
authordscho <dscho>2003-02-07 18:58:00 +0000
committerdscho <dscho>2003-02-07 18:58:00 +0000
commit0f66740881b7b6f468c46dc10e6694520b3ab2d8 (patch)
treee6819ea73d831ecd09609e6c801c71a710407cde /examples/pnmshow24.c
parent6b7cdeb9ef9ffb149d8dc38b17a55ebe503e31e7 (diff)
downloadlibtdevnc-0f66740881b7b6f468c46dc10e6694520b3ab2d8.tar.gz
libtdevnc-0f66740881b7b6f468c46dc10e6694520b3ab2d8.zip
moved files to include; moved a file to examples/
Diffstat (limited to 'examples/pnmshow24.c')
-rw-r--r--examples/pnmshow24.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c
index e096c7f..7448c65 100644
--- a/examples/pnmshow24.c
+++ b/examples/pnmshow24.c
@@ -1,11 +1,11 @@
-#ifndef ALLOW24BPP
-#error "I need the ALLOW24BPP flag to work"
-#endif
-
#include <stdio.h>
#include "rfb.h"
#include "keysym.h"
+#ifndef ALLOW24BPP
+#error "I need the ALLOW24BPP flag to work"
+#endif
+
void HandleKey(Bool down,KeySym key,rfbClientPtr cl)
{
if(down && (key==XK_Escape || key=='q' || key=='Q'))