summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-15 18:19:54 +0000
committerJeremy Allison <jra@samba.org>1998-06-15 18:19:54 +0000
commit644fbaaf9ba38a5f3d60f27f7110e755b20d31e7 (patch)
treea433f6cc33cefceb846b9a81aa541c2903d818fb /source3/include/includes.h
parent39c13bbeef6878e14c743831d63c33121d09e0bc (diff)
downloadsamba-644fbaaf9ba38a5f3d60f27f7110e755b20d31e7.tar.gz
samba-644fbaaf9ba38a5f3d60f27f7110e755b20d31e7.tar.bz2
samba-644fbaaf9ba38a5f3d60f27f7110e755b20d31e7.zip
Makefile:
smbumount.c: Added fixes to compile under Linux. includes.h: Added SunOS 4.x QSORT_CAST fix. reply.c: Fixed user name mapping function for security=server, security=domain. Jeremy. (This used to be commit 21ca6bfb3ba3927efaf7eeff4325976d41489be2)
Diffstat (limited to 'source3/include/includes.h')
-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 dae97b121b..ea09dcb367 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -293,6 +293,9 @@ typedef unsigned short mode_t;
/* SunOS doesn't have POSIX atexit */
#define atexit on_exit
#define NOSTRCASECMP
+#ifndef QSORT_CAST
+#define QSORT_CAST (int (*)(const void *, const void *))
+#endif /* QSORT_CAST */
#endif