sh: Avoid some headers when NO_HISTORY is set.
This is more simpler compatibility with using this source on older
systems before libedit was made to install filecomplete.h in
commit b315a7296d
.
This commit is contained in:
parent
e8e8d2290e
commit
971677d5fd
@ -59,7 +59,9 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "alias.h"
|
#include "alias.h"
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
|
#ifndef NO_HISTORY
|
||||||
#include "myhistedit.h"
|
#include "myhistedit.h"
|
||||||
|
#endif
|
||||||
#include "trap.h"
|
#include "trap.h"
|
||||||
|
|
||||||
#define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */
|
#define EOF_NLEFT -99 /* value of parsenleft when EOF pushed back */
|
||||||
|
@ -58,7 +58,9 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include "trap.h"
|
#include "trap.h"
|
||||||
#include "mystring.h"
|
#include "mystring.h"
|
||||||
#include "builtins.h"
|
#include "builtins.h"
|
||||||
|
#ifndef NO_HISTORY
|
||||||
#include "myhistedit.h"
|
#include "myhistedit.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user