Index: /trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/uxproces.c
===================================================================
--- /trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/uxproces.c	(revision 23572)
+++ /trunk/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/uxproces.c	(revision 23573)
@@ -160,5 +160,7 @@
 #if !defined(_PR_NATIVE_THREADS)
 static void pr_InstallSigchldHandler(void);
+#ifdef VBOX
 static void (*old_sig_handler)(int) = NULL;
+#endif /* VBOX */
 #endif
 
@@ -798,7 +800,9 @@
 
     errno = errnoCopy;
+#ifdef VBOX
     /** @todo: check if the sig handler fix is proper here */
     if(old_sig_handler && old_sig_handler != SIG_IGN)
         old_sig_handler(sig);
+#endif /* VBOX */
 }
 
@@ -817,5 +821,7 @@
     rv = sigaction(SIGCHLD, &act, &oact);
     PR_ASSERT(0 == rv);
+#ifdef VBOX
     old_sig_handler = oact.sa_handler;
+#endif /* VBOX */
     /* Make sure we are not overriding someone else's SIGCHLD handler */
 #ifndef _PR_SHARE_CLONES
