mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02: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:
parent
f6593cb7d4
commit
7209906093
2 changed files with 2 additions and 1 deletions
|
|
@ -70,10 +70,10 @@ extern char *alloca ();
|
|||
#include <fcntl.h>
|
||||
#include <vis.h>
|
||||
|
||||
#include "readline/readline.h"
|
||||
#include "el.h"
|
||||
#include "fcns.h" /* for EL_NUM_FCNS */
|
||||
#include "histedit.h"
|
||||
#include "readline/readline.h"
|
||||
|
||||
/* for rl_complete() */
|
||||
#define TAB '\r'
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
/*
|
||||
* search.c: History and character search functions
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#if defined(REGEX)
|
||||
#include <regex.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue