mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
This commit is contained in:
parent
1c2dc5ec10
commit
ccc3d8a954
@ -35,8 +35,10 @@ sub _prepare_build_h($)
|
||||
$key->{TYPE} ne "BINARY");
|
||||
next unless defined($key->{INIT_FUNCTIONS});
|
||||
|
||||
my $name = $key->{NAME};
|
||||
$name =~ s/-/_/g;
|
||||
$DEFINE->{COMMENT} = "$key->{TYPE} $key->{NAME} INIT";
|
||||
$DEFINE->{KEY} = "STATIC_$key->{NAME}_MODULES";
|
||||
$DEFINE->{KEY} = "STATIC_$name\_MODULES";
|
||||
$DEFINE->{VAL} = "{ \\\n";
|
||||
foreach (@{$key->{INIT_FUNCTIONS}}) {
|
||||
$DEFINE->{VAL} .= "\t$_, \\\n";
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "system/time.h" /* needed by some systems for asctime() */
|
||||
#include "libcli/resolve/resolve.h"
|
||||
#include "libcli/security/security.h"
|
||||
#include "lib/replace/readline.h"
|
||||
#include "lib/replace/smbreadline.h"
|
||||
#include "librpc/gen_ndr/ndr_nbt.h"
|
||||
|
||||
static int io_bufsize = 64512;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "lib/events/events.h"
|
||||
#include "lib/registry/reg_backend_rpc.h"
|
||||
#include "system/time.h"
|
||||
#include "lib/replace/readline.h"
|
||||
#include "lib/replace/smbreadline.h"
|
||||
#include "librpc/gen_ndr/ndr_security.h"
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user