Index: /trunk/src/VBox/NetworkServices/NAT/pxtcp.c
===================================================================
--- /trunk/src/VBox/NetworkServices/NAT/pxtcp.c	(revision 76956)
+++ /trunk/src/VBox/NetworkServices/NAT/pxtcp.c	(revision 76957)
@@ -219,5 +219,7 @@
     struct tcpip_msg msg_outbound; /* trigger send of outbound data */
     struct tcpip_msg msg_inbound;  /* trigger send of inbound data */
+#if HAVE_TCP_POLLHUP
     struct tcpip_msg msg_inpull;   /* trigger pull of last inbound data */
+#endif
 };
 
@@ -265,5 +267,7 @@
 static void pxtcp_pcb_write_outbound(void *);
 static void pxtcp_pcb_write_inbound(void *);
+#if HAVE_TCP_POLLHUP
 static void pxtcp_pcb_pull_inbound(void *);
+#endif
 
 /* tcp pcb callbacks */
@@ -635,5 +639,7 @@
     CALLBACK_MSG(msg_outbound, pxtcp_pcb_write_outbound);
     CALLBACK_MSG(msg_inbound, pxtcp_pcb_write_inbound);
+#if HAVE_TCP_POLLHUP
     CALLBACK_MSG(msg_inpull, pxtcp_pcb_pull_inbound);
+#endif
 
 #undef CALLBACK_MSG
@@ -2407,4 +2413,5 @@
 
 
+#if HAVE_TCP_POLLHUP
 /**
  * Callback from poll manager (pxtcp::msg_inpull) to switch
@@ -2440,4 +2447,5 @@
     pxtcp_pcb_sent(pxtcp, pxtcp->pcb, 0);
 }
+#endif  /* HAVE_TCP_POLLHUP */
 
 
