summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-04 00:49:32 +0000
committerJeremy Allison <jra@samba.org>1998-06-04 00:49:32 +0000
commita1c66b009ff2d6ac16b43f2af8eeaea67abb6414 (patch)
treefd41bab20d5c2123751d731145ffaa2c76df1983 /source3/include
parent52c69766ea495f08a907c6ca76b1cef8df8c5d7c (diff)
downloadsamba-a1c66b009ff2d6ac16b43f2af8eeaea67abb6414.tar.gz
samba-a1c66b009ff2d6ac16b43f2af8eeaea67abb6414.tar.bz2
samba-a1c66b009ff2d6ac16b43f2af8eeaea67abb6414.zip
includes.h: Fixes for NetBSD and BSDI.
smbpass.c: Fixed irix warnings. Jeremy. (This used to be commit 2caefb35ff56dba67968d04755d74238a38ba29d)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 5054c2ee5b..74000a83ba 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -508,6 +508,7 @@ char *mktemp(char *); /* No standard include */
#include <netinet/tcp.h>
#define SIGNAL_CAST (void (*)())
#define USE_DIRECT
+#define QSORT_CAST (int (*)(const void *, const void *))
#endif
@@ -521,6 +522,8 @@ char *mktemp(char *); /* No standard include */
#include <strings.h>
#endif /* NetBSD1_3 */
#include <netinet/tcp.h>
+#include <netinet/in_systm.h>
+#include <netinet/ip.h>
/* you may not need this */
#define NO_GETSPNAM
#define SIGNAL_CAST (void (*)())