From 84f160a2c29a187e49042d4b640bf9167b64e418 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 15 Oct 2004 09:42:31 +0000
Subject: [PATCH] Enabled the web server in NT services.

---
 src/sbbs3/ntsvcs.c  | 7 +------
 src/sbbs3/sbbs3.dsw | 3 +++
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/sbbs3/ntsvcs.c b/src/sbbs3/ntsvcs.c
index 010a1883a5..60d3f9c767 100644
--- a/src/sbbs3/ntsvcs.c
+++ b/src/sbbs3/ntsvcs.c
@@ -47,11 +47,6 @@
 /* Windows-specific headers */
 #include <winsvc.h>
 
-/* Temporary: Do not include web server in 3.1x-Win32 release build */
-#if defined(_MSC_VER)
-	#define NO_WEB_SERVER
-#endif
-
 #define NTSVC_TIMEOUT_STARTUP	30000	/* Milliseconds */
 #define NTSVC_TIMEOUT_TERMINATE	30000	/* Milliseconds */
 
@@ -801,7 +796,7 @@ int main(int argc, char** argv)
 #if !defined(NO_WEB_SERVER)
 	/* Initialize Web Server startup structure */
     memset(&web_startup,0,sizeof(web_startup));
-	web_startup.private_data=&web;
+	web_startup.cbdata=&web;
     web_startup.size=sizeof(web_startup);
 	web_startup.lputs=svc_lputs;
     web_startup.started=svc_started;
diff --git a/src/sbbs3/sbbs3.dsw b/src/sbbs3/sbbs3.dsw
index 9190fd1172..53e83d7096 100644
--- a/src/sbbs3/sbbs3.dsw
+++ b/src/sbbs3/sbbs3.dsw
@@ -191,6 +191,9 @@ Package=<4>
     Begin Project Dependency
     Project_Dep_Name xpdev_mt
     End Project Dependency
+    Begin Project Dependency
+    Project_Dep_Name websrvr
+    End Project Dependency
 }}}
 
 ###############################################################################
-- 
GitLab