1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_UI_SLANG_H_
3 #define _PERF_UI_SLANG_H_ 1
4 /*
5  * slang versions <= 2.0.6 have a "#if HAVE_LONG_LONG" that breaks
6  * the build if it isn't defined. Use the equivalent one that glibc
7  * has on features.h.
8  */
9 #include <features.h>
10 #ifndef HAVE_LONG_LONG
11 #define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG
12 #endif
13 
14 /* Enable future slang's corrected function prototypes. */
15 #define ENABLE_SLFUTURE_CONST 1
16 #define ENABLE_SLFUTURE_VOID 1
17 
18 #ifdef HAVE_SLANG_INCLUDE_SUBDIR
19 #include <slang/slang.h>
20 #else
21 #include <slang.h>
22 #endif
23 
24 #define SL_KEY_UNTAB 0x1000
25 
26 #endif /* _PERF_UI_SLANG_H_ */
27