nwrap: Fix the build on Solaris
[obnox/samba/samba-obnox.git] / source3 / services / svc_spoolss.c
index 4a2cb7897755a144ec4fd503c52e2499088fc042..e827013d00ec2ccf4a9c1551d47305a13a3053b6 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include "includes.h"
+#include "services/services.h"
 
 /* Implementation for internal spoolss service */
 
@@ -47,7 +48,7 @@ static WERROR spoolss_start( const char *service )
 {
        /* see if the smb.conf will support this anyways */
 
-       if ( _lp_disable_spoolss() )
+       if ( lp__disable_spoolss() )
                return WERR_ACCESS_DENIED;
 
        if (lp_get_spoolss_state() == SVCCTL_RUNNING) {