diff options
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 4a760b86f5..4b4d741648 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -671,6 +671,20 @@ typedef struct smb_wpasswd { #define UNI_XDIGIT 0x8 #define UNI_SPACE 0x10 +#ifdef HAVE_NSS_H +#include <nss.h> +#else + +/* Minimal needed to compile.. */ + +enum nss_status { + NSS_STATUS_SUCCESS, + NSS_STATUS_NOTFOUND, + NSS_STATUS_UNAVAIL +}; + +#endif + /***** automatically generated prototypes *****/ #include "proto.h" @@ -935,19 +949,5 @@ extern int DEBUGLEVEL; #define MAX_SEC_CTX_DEPTH 8 /* Maximum number of security contexts */ -#ifdef HAVE_NSS_H -#include <nss.h> -#else - -/* Minimal needed to compile.. */ - -enum nss_status { - NSS_STATUS_SUCCESS, - NSS_STATUS_NOTFOUND, - NSS_STATUS_UNAVAIL -}; - -#endif - #endif /* _INCLUDES_H */ |