r11660: - the libcli/raw/ lib no longer uses the SMBCLI_REQUEST_SEND state, or
[Samba/aatanasov.git] / source / heimdal_build / config.h
blob660739c73f4c1be21318d6dc865c6cad65d5e333
1 /*
2 this is a replacement config.h for building the heimdal parts of the
3 Samba source tree
4 */
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"
12 #ifdef HAVE_KRB5
14 #define RCSID(msg) \
15 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
17 #ifdef VOID_RETSIGTYPE
18 #define SIGRETURN(x) return
19 #else
20 #define SIGRETURN(x) return (RETSIGTYPE)(x)
21 #endif
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 */
34 #undef HAVE_DLOPEN
36 #define VERSION "Samba"
38 #define ROKEN_LIB_FUNCTION
40 /* these should be done with configure tests */
41 #define KRB5
43 #include <sys/types.h>
44 #include <stdarg.h>
45 #include "lib/replace/replace.h"
46 #endif
48 /* we need to tell roken about the functions that Samba replaces in lib/replace */
49 #ifndef HAVE_SETEUID
50 #define HAVE_SETEUID 1
51 #endif
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
60 #endif
62 #ifndef HAVE_STRNDUP
63 #define HAVE_STRNDUP
64 #endif
66 #ifndef HAVE_SSIZE_T
67 #define HAVE_SSIZE_T
68 #endif
70 #endif