mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
16aa0744c6
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
36 lines
700 B
C
36 lines
700 B
C
/*
|
|
this is a replacement config.h for building the heimdal parts of the
|
|
Samba source tree
|
|
*/
|
|
|
|
#ifndef HAVE_HEIMDAL_CONFIG_H
|
|
#define HAVE_HEIMDAL_CONFIG_H
|
|
|
|
#include "include/config.h"
|
|
#include "../replace/replace.h"
|
|
|
|
#if !defined(HAVE_DIRFD) && !defined(HAVE_DIRFD_DECL) && !defined(dirfd)
|
|
#define dirfd(d) (-1)
|
|
#endif
|
|
|
|
#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
|
|
|
|
#define HDB_DB_DIR ""
|
|
|
|
#undef HAVE_KRB5_ENCRYPT_BLOCK
|
|
|
|
/*Workaround for heimdal define vs samba define*/
|
|
#ifdef HAVE_LIBINTL_H
|
|
#define LIBINTL
|
|
#endif
|
|
|
|
#endif
|