1 #ifndef __LINUX_API_SUPPORT_H__
2 #define __LINUX_API_SUPPORT_H__
4 #ifndef __LNET_API_SUPPORT_H__
5 #error Do not #include this file directly. #include <lnet /api-support.h> instead
14 /* Lots of POSIX dependencies to support PtlEQWait_timeout */
19 #ifdef HAVE_LIBREADLINE
20 #define READLINE_LIBRARY
21 #include <readline/readline.h>
23 /* readline.h pulls in a #define that conflicts with one in libcfs.h */
26 /* completion_matches() is #if 0-ed out in modern glibc */
27 #ifndef completion_matches
28 # define completion_matches rl_completion_matches
31 #endif /* HAVE_LIBREADLINE */
33 extern void using_history(void);
34 extern void stifle_history(int);
35 extern void add_history(char *);
37 #endif /* !__KERNEL__ */