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"
15 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
17 #ifdef VOID_RETSIGTYPE
18 #define SIGRETURN(x) return
20 #define SIGRETURN(x) return (RETSIGTYPE)(x)
23 /* path to sysconf - should we force this to samba LIBDIR ? */
24 #define SYSCONFDIR "/etc"
27 /* Maximum values on all known systems */
28 #define MaxHostNameLen (64+4)
29 #define MaxPathLen (1024+4)
31 #define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
33 /* even if we do have dlopen, we don't want heimdal using it */
36 #define VERSION "Samba"
38 #define ROKEN_LIB_FUNCTION
40 /* these should be done with configure tests */
43 #include <sys/types.h>
45 #include "lib/replace/replace.h"
48 /* we need to tell roken about the functions that Samba replaces in lib/replace */
50 #define HAVE_SETEUID 1
53 #define GETHOSTBYADDR_PROTO_COMPATIBLE
54 #define GETSERVBYNAME_PROTO_COMPATIBLE
55 #define OPENLOG_PROTO_COMPATIBLE
56 #define GETSOCKNAME_PROTO_COMPATIBLE
58 #ifndef HAVE_SOCKLEN_T
59 #define HAVE_SOCKLEN_T