summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h5
-rw-r--r--source3/include/proto.h4
2 files changed, 3 insertions, 6 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index d345ea38de..ae073d1df8 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -263,6 +263,7 @@ Here come some platform specific sections
#include <sys/acct.h>
#include <sys/vfs.h>
#include <string.h>
+#include <strings.h>
#include <errno.h>
#include <sys/wait.h>
#include <signal.h>
@@ -291,6 +292,7 @@ typedef unsigned short mode_t;
#define USE_SYSV_IPC
/* SunOS doesn't have POSIX atexit */
#define atexit on_exit
+#define NOSTRCASECMP
#endif
@@ -335,7 +337,6 @@ extern int innetgr (const char *, const char *, const char *, const char *);
#ifndef QSORT_CAST
#define QSORT_CAST (int (*)(const void *, const void *))
#endif /* QSORT_CAST */
-#define HAVE_VSNPRINTF
#endif
@@ -1372,7 +1373,7 @@ extern int errno;
#ifdef sprintf
#undef sprintf
#endif /* sprintf */
-#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__>;
+#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 79d46b1e4b..e574861b65 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -860,10 +860,6 @@ void make_wks_r_query_info(WKS_R_QUERY_INFO *r_u,
int status) ;
void wks_io_r_query_info(char *desc, WKS_R_QUERY_INFO *r_u, prs_struct *ps, int depth);
-/*The following definitions come from lib/rpc/server/srv_ldap_helpers.c */
-
-void ldap_helper_dummy(void);
-
/*The following definitions come from lib/rpc/server/srv_lsa.c */
BOOL api_ntlsa_rpc(pipes_struct *p, prs_struct *data);