1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

build: avoid util.h as a public header name due to conflict with MacOS

This commit is contained in:
Andrew Bartlett 2011-09-20 14:26:36 -07:00
parent 4383665101
commit d40fe50a67
21 changed files with 21 additions and 21 deletions

View File

@ -30,7 +30,7 @@
/* Note: lib/util/ is currently GPL */
#include "lib/util/tevent_unix.h"
#include "lib/util/util.h"
#include "lib/util/samba_util.h"
#ifndef TALLOC_FREE
#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)

View File

@ -17,7 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "replace.h"
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;

View File

@ -18,7 +18,7 @@
*/
#include "replace.h"
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;

View File

@ -18,7 +18,7 @@
*/
#include "replace.h"
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "../lib/crypto/crypto.h"
struct torture_context;

View File

@ -50,7 +50,7 @@
#include "includes.h"
#include "util.h"
#include "lib/util/samba_util.h"
/*
* RFC 1738 defines that these characters should be escaped, as well

View File

@ -10,8 +10,8 @@ bld.SAMBA_LIBRARY('samba-util',
server_id.c dprintf.c parmlist.c bitmap.c''',
deps='DYNCONFIG',
public_deps='talloc execinfo uid_wrapper pthread LIBCRYPTO charset',
public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h string_wrappers.h',
header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
local_include=False,
vnum='0.0.1',
pc_files='samba-util.pc'

View File

@ -27,7 +27,7 @@
#include <talloc.h>
#include <sys/time.h>
#include "../lib/util/util.h" /* for discard_const */
#include "../lib/util/samba_util.h" /* for discard_const */
#include "../lib/util/charset/charset.h"
/*

View File

@ -29,7 +29,7 @@
#include "lib/util/charset/charset.h"
#include "libcli/auth/libcli_auth.h"
#include "source4/param/param.h"
#include "lib/util/util.h"
#include "lib/util/samba_util.h"
#include "lib/crypto/arcfour.h"
#define WBC_ERROR_EQUAL(x,y) (x == y)

View File

@ -498,7 +498,7 @@ typedef char fstring[FSTRING_LEN];
#endif
/* Lists, trees, caching, database... */
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "../lib/util/util_net.h"
#include "../lib/util/xfile.h"
#include "../lib/util/memory.h"

View File

@ -25,7 +25,7 @@
#include "system/shmem.h"
#include "system/filesys.h"
#include "server_prefork.h"
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "../lib/util/tevent_unix.h"
struct prefork_pool {

View File

@ -42,7 +42,7 @@
#include "dsdb/samdb/ldb_modules/schema.h"
#include "auth/auth.h"
#include "param/param.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
struct descriptor_data {
int _dummy;

View File

@ -27,7 +27,7 @@
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "librpc/ndr/libndr.h"
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
#define LDAP_DIRSYNC_OBJECT_SECURITY 0x01
#define LDAP_DIRSYNC_ANCESTORS_FIRST_ORDER 0x800

View File

@ -34,7 +34,7 @@
#include <ldb_errors.h>
#include <ldb_module.h>
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
/*
TODO: if relax is not set then we need to reject the fancy RMD_* and

View File

@ -40,7 +40,7 @@
#include "librpc/gen_ndr/ndr_security.h"
#include "librpc/ndr/libndr.h"
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
struct extended_dn_out_private {
bool dereference;

View File

@ -46,7 +46,7 @@
#include "param/param.h"
#include "../libds/common/flags.h"
#include "dsdb/samdb/ldb_modules/schema.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
struct oc_context {

View File

@ -25,7 +25,7 @@
#include "librpc/ndr/libndr.h"
#include "dsdb/samdb/ldb_modules/util.h"
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "dsdb/common/util.h"
#include "libcli/security/security.h"
#include "dsdb/samdb/ldb_modules/schema.h"

View File

@ -34,7 +34,7 @@
#include "auth/credentials/credentials_krb5.h"
#include "system/kerberos.h"
#include "auth/kerberos/kerberos.h"
#include "util.h"
#include "dsdb/samdb/ldb_modules/util.h"
struct dn_list {
struct ldb_message *msg;

View File

@ -26,7 +26,7 @@
#include "librpc/ndr/libndr.h"
#include "dsdb/samdb/ldb_modules/util.h"
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "dsdb/common/util.h"
#include "libcli/security/security.h"
/*

View File

@ -58,7 +58,7 @@
#include "../lib/util/xfile.h"
#include "../lib/util/attr.h"
#include "../lib/util/debug.h"
#include "../lib/util/util.h"
#include "../lib/util/samba_util.h"
#include "libcli/util/error.h"

View File

@ -18,7 +18,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "includes.h"
#include "lib/util/util.h"
#include "lib/util/samba_util.h"
#include "lib/policy/policy.h"
struct gp_parse_context {