$OpenBSD$ This code isn't needed at all because lib/replace/system/readline.h automatically includes if supportted, and it breaks the build when devel/readline is installed. --- source4/torture/smbtorture.c.orig Mon May 13 00:27:51 2013 +++ source4/torture/smbtorture.c Mon May 13 00:31:00 2013 @@ -34,10 +34,6 @@ #include "param/param.h" #include "lib/util/samba_modules.h" -#if HAVE_READLINE_HISTORY_H -#include -#endif - static char *prefix_name(TALLOC_CTX *mem_ctx, const char *prefix, const char *name) { if (prefix == NULL)