mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a954
)
This commit is contained in:
parent
bd9e9062bf
commit
e595ede02f
@ -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