mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
readline.c:
Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2 search.c: FreeBSD needs <sys/types.h> to get 'off_t' defined
This commit is contained in:
@ -70,10 +70,10 @@ extern char *alloca ();
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
|
|
||||||
|
#include "readline/readline.h"
|
||||||
#include "el.h"
|
#include "el.h"
|
||||||
#include "fcns.h" /* for EL_NUM_FCNS */
|
#include "fcns.h" /* for EL_NUM_FCNS */
|
||||||
#include "histedit.h"
|
#include "histedit.h"
|
||||||
#include "readline/readline.h"
|
|
||||||
|
|
||||||
/* for rl_complete() */
|
/* for rl_complete() */
|
||||||
#define TAB '\r'
|
#define TAB '\r'
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
/*
|
/*
|
||||||
* search.c: History and character search functions
|
* search.c: History and character search functions
|
||||||
*/
|
*/
|
||||||
|
#include <sys/types.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#if defined(REGEX)
|
#if defined(REGEX)
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
|
Reference in New Issue
Block a user