2 this is a replacement config.h for building the heimdal parts of the
6 #ifndef HAVE_HEIMDAL_CONFIG_H
7 #define HAVE_HEIMDAL_CONFIG_H 1
9 /* bring in the samba4 config.h */
10 #include "include/config.h"
16 #ifdef VOID_RETSIGTYPE
17 #define SIGRETURN(x) return
19 #define SIGRETURN(x) return (RETSIGTYPE)(x)
22 /* path to sysconf - should we force this to samba LIBDIR ? */
23 #define SYSCONFDIR "/etc"
26 /* Maximum values on all known systems */
27 #define MaxHostNameLen (64+4)
28 #define MaxPathLen (1024+4)
30 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
32 /* even if we do have dlopen, we don't want heimdal using it */
35 #define VERSION "Samba"
37 #define ROKEN_LIB_FUNCTION
39 /* these should be done with configure tests */
42 #include <sys/types.h>
44 #ifdef HAVE_INTTYPES_H
47 #include "lib/replace/replace.h"
50 /* we need to tell roken about the functions that Samba replaces in lib/replace */
52 #define HAVE_SETEUID 1
55 #define GETHOSTBYADDR_PROTO_COMPATIBLE
56 #define GETSERVBYNAME_PROTO_COMPATIBLE
57 #define OPENLOG_PROTO_COMPATIBLE
58 #define GETSOCKNAME_PROTO_COMPATIBLE
60 #ifndef HAVE_SOCKLEN_T
61 #define HAVE_SOCKLEN_T
67 #ifndef HAVE_SOCKLEN_T
68 #define HAVE_SOCKLEN_T