Define "_PATH_VI" if necessary to make cross-building work again under

Solaris (and potentially other platforms) after "disklabel" has been
added to the hosts tools.
This commit is contained in:
tron 2005-08-22 15:27:11 +00:00
parent 20f0c3a484
commit ff5245dd05
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_defs.h,v 1.45 2004/12/11 09:34:08 jmc Exp $ */
/* $NetBSD: compat_defs.h,v 1.46 2005/08/22 15:27:11 tron Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@ -488,6 +488,9 @@ void *setmode(const char *);
#ifndef _PATH_DEFTAPE
#define _PATH_DEFTAPE "/dev/nrst0"
#endif
#ifndef _PATH_VI
#define _PATH_VI "/usr/bin/vi"
#endif
/* <stdarg.h> */