summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-10 06:41:04 +0000
committerTim Potter <tpot@samba.org>2000-07-10 06:41:04 +0000
commit898a483cdab1ed7d8ff902c0dc0e0620440ae4cd (patch)
tree8470252abf27634d16a8a9fae9f0cad111b9d127 /source/include/includes.h
parentf866c18f6be65db67d9d2a6c0b42e1af3b421e6c (diff)
downloadsamba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.tar.gz
samba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.tar.xz
samba-898a483cdab1ed7d8ff902c0dc0e0620440ae4cd.zip
Fixes for various compile warnings on Solaris 8.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 4a760b86f57..4b4d7416482 100644
--- a/source/include/includes.h
+++ b/source/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 */