Created attachment 8886 [details] Patch to fix issue There is a preprocessor block at the line 37 in smbtorture.c: #if HAVE_READLINE_HISTORY_H #include <readline/history.h> #endif The whole block is not needed, because #include "system/readline.h" 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.