diff --git a/build.vc10/daemon.vcxproj b/build.vc10/daemon.vcxproj
index ad837f4..0b7552f 100644
--- a/build.vc10/daemon.vcxproj
+++ b/build.vc10/daemon.vcxproj
@@ -119,7 +119,7 @@
/Wall /wd4668 /wd4619 /wd4820 /wd4255 /wd4100 /wd4127 %(AdditionalOptions)
Disabled
..\sys;..\xdr;..\dll;..\libtirpc\tirpc;%(AdditionalIncludeDirectories)
- WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)
+ WIN32_LEAN_AND_MEAN;STANDALONE_NFSD;%(PreprocessorDefinitions)
true
diff --git a/daemon/sources b/daemon/sources
index 45dbd42..b862f3e 100644
--- a/daemon/sources
+++ b/daemon/sources
@@ -9,7 +9,7 @@ SOURCES=nfs41_daemon.c daemon_debug.c nfs41_ops.c nfs41_compound.c nfs41_xdr.c \
UMTYPE=console
USE_LIBCMT=1
#USE_MSVCRT=1
-#C_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd
+C_DEFINES=-DSTANDALONE_NFSD #-- use this for non-service nfsd
INCLUDES=..\sys;..\dll;..\libtirpc\tirpc
TARGETLIBS=$(SDK_LIB_PATH)\ws2_32.lib $(SDK_LIB_PATH)\iphlpapi.lib \
..\libtirpc\src\obj$(BUILD_ALT_DIR)\*\libtirpc.lib \