fix compilation without -DEDIT
This commit is contained in:
parent
1d7af1d4c0
commit
9263138f08
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.34 2013/01/22 20:35:29 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.35 2013/01/22 22:40:31 christos Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
#
|
||||
# C Shell with process control; VM/UNIX VAX Makefile
|
||||
|
@ -61,11 +61,11 @@ COPTS.printf.c = -Wno-format-nonliteral
|
|||
COPTS.proc.c = -Wno-format-nonliteral
|
||||
|
||||
.if 0
|
||||
LDADD+=-lutil
|
||||
DPADD+=${LIBUTIL}
|
||||
.elese
|
||||
LDADD+=-ledit -lutil
|
||||
DPADD+=${LIBEDIT} ${LIBUTIL}
|
||||
.else
|
||||
LDADD+=-lutil
|
||||
DPADD+=${LIBUTIL}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: csh.h,v 1.23 2013/01/22 20:35:29 christos Exp $ */
|
||||
/* $NetBSD: csh.h,v 1.24 2013/01/22 22:40:31 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1991, 1993
|
||||
|
@ -552,7 +552,7 @@ Char **STR_environ;
|
|||
#ifdef EDIT
|
||||
#include <histedit.h>
|
||||
EditLine *el;
|
||||
int editing;
|
||||
#endif
|
||||
int editing;
|
||||
|
||||
#endif /* !_CSH_H_ */
|
||||
|
|
Loading…
Reference in New Issue