r13355: check controls are correctly exported
[Samba/aatanasov.git] / source4 / heimdal_build / config.h
blob844b7d9b17e37031d6371d7ff097bb2eb8b4b2dd
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 #ifdef HAVE_INTTYPES_H
46 #include <inttypes.h>
47 #endif
48 #include "lib/replace/replace.h"
49 #endif
51 /* we need to tell roken about the functions that Samba replaces in lib/replace */
52 #ifndef HAVE_SETEUID
53 #define HAVE_SETEUID 1
54 #endif
56 #define GETHOSTBYADDR_PROTO_COMPATIBLE
57 #define GETSERVBYNAME_PROTO_COMPATIBLE
58 #define OPENLOG_PROTO_COMPATIBLE
59 #define GETSOCKNAME_PROTO_COMPATIBLE
61 #ifndef HAVE_SOCKLEN_T
62 #define HAVE_SOCKLEN_T
63 #endif
65 #ifndef HAVE_STRNDUP
66 #define HAVE_STRNDUP
67 #endif
68 #ifndef HAVE_SOCKLEN_T
69 #define HAVE_SOCKLEN_T
70 #endif
72 #ifndef HAVE_SSIZE_T
73 #define HAVE_SSIZE_T
74 #endif
76 #endif