Index: /trunk/src/VBox/GuestHost/OpenGL/util/net.c
===================================================================
--- /trunk/src/VBox/GuestHost/OpenGL/util/net.c	(revision 50436)
+++ /trunk/src/VBox/GuestHost/OpenGL/util/net.c	(revision 50437)
@@ -994,5 +994,5 @@
 }
 
-
+#ifdef IN_GUEST
 /**
  * Called by the main receive function when we get a CR_MESSAGE_WRITEBACK
@@ -1027,5 +1027,5 @@
     crMemcpy( dest_ptr, ((char *)rb) + sizeof(*rb), payload_len );
 }
-
+#endif
 
 /**
@@ -1107,4 +1107,5 @@
             crError( "Can't handle read pixels" );
             return;
+#ifdef IN_GUEST
         case CR_MESSAGE_WRITEBACK:
             crNetRecvWriteback( &(pRealMsg->writeback) );
@@ -1112,4 +1113,5 @@
         case CR_MESSAGE_READBACK:
             crNetRecvReadback( &(pRealMsg->readback), len );
+#endif
             return;
         case CR_MESSAGE_CRUT:
@@ -1129,8 +1131,8 @@
                 char string[128];
                 crBytesToString( string, sizeof(string), msg, len );
-                crError("crNetDefaultRecv: received a bad message: type=%d buf=[%s]\n"
+                WARN(("crNetDefaultRecv: received a bad message: type=%d buf=[%s]\n"
                                 "Did you add a new message type and forget to tell "
                                 "crNetDefaultRecv() about it?\n",
-                                msg->header.type, string );
+                                msg->header.type, string ));
             }
     }
