Fix vi build on Linux/macOS
This absolute include causes a build failure on Linux for me: .../cheri/freebsd/contrib/nvi/cl/../common/common.h:10:10: fatal error: '/usr/include/db.h' file not found This change patches the file to use #include <db.h> instead until a solution has been found upstream. See also https://github.com/lichray/nvi2/issues/69 Reviewed By: bapt Differential Revision: https://reviews.freebsd.org/D26480
This commit is contained in:
parent
86ce536521
commit
2bd2b11335
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365941
@ -7,7 +7,7 @@
|
|||||||
* See the LICENSE file for redistribution information.
|
* See the LICENSE file for redistribution information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "/usr/include/db.h" /* Only include db1. */
|
#include <db.h> /* Only include db1. */
|
||||||
#include <regex.h> /* May refer to the bundled regex. */
|
#include <regex.h> /* May refer to the bundled regex. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user