Created attachment 8886 [details]
Patch to fix issue
There is a preprocessor block at the line 37 in smbtorture.c:
The whole block is not needed, because
above already takes care of libreadline history support (using the same mechanism), and this #include breaks the build on OpenBSD when GNU readline package is installed (under /usr/local), because there is also libreadline in the base system (/usr).
Can I get these as a git format-patch ?
(Otherwise I'll do it tomorrow, but this way you can set the authorship and
commit message correctly)
Created attachment 8897 [details]
Patch to fix issue via git format-patch
Vadim's patch still applies on top of master.