Samba source tree
*/
-/* bring in the samba4 config.h */
-#include "include/config.h"
+#ifndef HAVE_HEIMDAL_CONFIG_H
+#define HAVE_HEIMDAL_CONFIG_H
-#ifdef HAVE_KRB5
+#include "include/config.h"
+#include "../replace/replace.h"
-#define RCSID(msg) \
-static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
+#define RCSID(msg) struct __rcsid { int __rcsdi; }
+#define KRB5
+/* This needs to be defined for roken too */
#ifdef VOID_RETSIGTYPE
#define SIGRETURN(x) return
#else
#define SIGRETURN(x) return (RETSIGTYPE)(x)
#endif
-/* path to sysconf - should we force this to samba LIBDIR ? */
-#define SYSCONFDIR "/etc"
-
-
-/* Maximum values on all known systems */
-#define MaxHostNameLen (64+4)
-#define MaxPathLen (1024+4)
+#define HDB_DB_DIR ""
-#define VERSIONLIST {"Lorikeet-Heimdal, Modified for Samba4 0.7rc1"}
+#undef HAVE_KRB5_ENCRYPT_BLOCK
-/* even if we do have dlopen, we don't want heimdal using it */
-#undef HAVE_DLOPEN
-
-#define VERSION "Samba"
+/*Workaround for heimdal define vs samba define*/
+#ifdef HAVE_LIBINTL_H
+#define LIBINTL
+#endif
-#define ROKEN_LIB_FUNCTION
+/* we do not want any __APPLE__ magic */
+#ifdef __APPLE__
+#undef __APPLE__
+#endif
-/* these should be done with configure tests */
-#define KRB5
-#define HAVE_INET_ATON
-#define HAVE_LONG_LONG
-#define HAVE_GETHOSTNAME
-#define HAVE_SOCKLEN_T
-#define HAVE_GETNAMEINFO
-#define HAVE_STRUCT_WINSIZE
-#define HAVE_STRUCT_SOCKADDR_STORAGE
-#define HAVE_STRUCT_ADDRINFO
-#define HAVE_GAI_STRERROR
-
-#include <sys/types.h>
-#include <stdarg.h>
-#include "lib/replace/replace.h"
#endif