--- ntop/initialize.c	Thu Jul 25 10:31:32 2002
+++ ntop/initialize.c	Thu Aug  1 14:49:21 2002
@@ -704,7 +704,9 @@
   }
 #endif /* USE_SSLWATCHDOG || PARM_SSLWATCHDOG */
 
+#ifdef MULTITHREADED
   myGlobals.hostsHashMutexInitialized = 1;
+#endif /* MULTITHREADED */
 }
 
 
--- ntop/globals-core.c	Tue Jul  9 11:43:09 2002
+++ ntop/globals-core.c	Thu Aug  1 14:48:55 2002
@@ -197,9 +197,9 @@
   /* administrative */
   myGlobals.shortDomainName = NULL;
 
+#ifdef MULTITHREADED
   myGlobals.hostsHashMutexInitialized = 0;
 
-#ifdef MULTITHREADED
   myGlobals.numThreads = 0;            /* # of running threads */
 
   myGlobals.numDequeueThreads = 1;
--- ntop/webInterface.c	Thu Jul 25 16:26:40 2002
+++ ntop/webInterface.c	Thu Aug  1 14:54:44 2002
@@ -3288,6 +3288,7 @@
     int topSock = myGlobals.sock;
 
 #ifndef WIN32
+#ifdef MULTITHREADED
     /*
      *  The great ntop "mysterious web server death" fix... and other tales of
      *  sorcery.
@@ -3387,6 +3387,7 @@
 #endif
 	}
       }
+#endif /* MULTITHREADED */
 #endif /* WIN32 */
 
       FD_ZERO(&mask);
