summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-18 13:24:57 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-18 13:24:57 +0000
commit9c4927d3624c594ea6647d946540ce286a948805 (patch)
tree26f8e58db0ff576c04b5867c2481b6d89ee69861 /source3/include/includes.h
parentabb183317342fbfdc75a6858d427e550f8f7123d (diff)
downloadsamba-9c4927d3624c594ea6647d946540ce286a948805.tar.gz
samba-9c4927d3624c594ea6647d946540ce286a948805.tar.bz2
samba-9c4927d3624c594ea6647d946540ce286a948805.zip
much better readline support from Simo Sorce, with some mods from me
to make it a bit simpler (This used to be commit e1487eb2c4626dbe0cc3b17606eda702cedef28b)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1102f99d05..f2c185e086 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -616,6 +616,8 @@ extern int errno;
#include "messages.h"
#include "util_list.h"
+#include "smb_readline.h" /* SSS: samba readline support */
+
#ifndef UBI_BINTREE_H
#include "ubi_Cache.h"
#endif /* UBI_BINTREE_H */
@@ -787,24 +789,6 @@ enum nss_status {
#define ULTRIX_AUTH 1
#endif
-#ifdef HAVE_LIBREADLINE
-# ifdef HAVE_READLINE_READLINE_H
-# include <readline/readline.h>
-# ifdef HAVE_READLINE_HISTORY_H
-# include <readline/history.h>
-# endif
-# else
-# ifdef HAVE_READLINE_H
-# include <readline.h>
-# ifdef HAVE_HISTORY_H
-# include <history.h>
-# endif
-# else
-# undef HAVE_LIBREADLINE
-# endif
-# endif
-#endif
-
#ifndef HAVE_STRDUP
char *strdup(const char *s);
#endif