Commit c322164a authored by unknown's avatar unknown
Browse files

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


cmd-line-utils/libedit/search.c:
  FreeBSD needs <sys/types.h> to get 'off_t' defined
cmd-line-utils/libedit/readline.c:
  Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2
parent c4c1979d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@
/*
 * search.c: History and character search functions
 */
#include <sys/types.h>
#include <stdlib.h>
#if defined(REGEX)
#include <regex.h>