summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow24.c
diff options
context:
space:
mode:
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'))