summaryrefslogtreecommitdiff
path: root/source3/include
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
commitb561c185972921861946a69b8846681bc7ed3f87 (patch)
tree98d741d45164d90d0162ddcd01aa5f40adf6dc1a /source3/include
parent64299375b544de91dab75d62610d7dc7f1f8328d (diff)
downloadsamba-b561c185972921861946a69b8846681bc7ed3f87.tar.gz
samba-b561c185972921861946a69b8846681bc7ed3f87.tar.bz2
samba-b561c185972921861946a69b8846681bc7ed3f87.zip
Fixes for various compile warnings on Solaris 8.
(This used to be commit 898a483cdab1ed7d8ff902c0dc0e0620440ae4cd)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h28
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 */