Index: /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c
===================================================================
--- /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c	(revision 17189)
+++ /trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c	(revision 17190)
@@ -95,4 +95,5 @@
 static void crVBoxHGCMReceiveMessage(CRConnection *conn);
 
+#ifndef IN_GUEST
 static bool _crVBoxHGCMReadBytes(CRConnection *conn, void *buf, uint32_t len)
 {
@@ -109,4 +110,5 @@
     return TRUE;
 }
+#endif
 
 /*@todo get rid of it*/
@@ -613,7 +615,7 @@
             hgcm_buffer->kind      = CR_VBOXHGCM_MEMORY_BIG;
             hgcm_buffer->allocated = sizeof(CRVBOXHGCMBUFFER) + len;
-#ifdef RT_OS_WINDOWS
+# ifdef RT_OS_WINDOWS
             hgcm_buffer->pDDS      = NULL;
-#endif
+# endif
         }
 
