--- a/NXT/NXCDefs.h
+++ b/NXT/NXCDefs.h
@@ -8068,7 +8068,7 @@
   __DoReadJoystick(_queue, _jmt) \
 }
 
-#define JoystickExMessageRead(_queue, _jemt) asm \
+#define JoystickExMessageRead(_queue, _jemt) asm { \
   compchktype _jemt, JoystickExMessageType \
   __DoReadJoystick(_queue, _jemt) \
 }