diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2020-09-21 09:03:42 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2020-09-21 09:03:42 +0000 |
commit | 2bd2b113353d79cc7bdd315c3c76e0fc13218219 (patch) | |
tree | 7a0cd52ed4ba181f8df2c282504e587470214158 | |
parent | 86ce5365215ab252e0d1904b410381c96cfc4076 (diff) | |
download | src-2bd2b113353d79cc7bdd315c3c76e0fc13218219.tar.gz src-2bd2b113353d79cc7bdd315c3c76e0fc13218219.zip |
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
Notes
Notes:
svn path=/head/; revision=365941
-rw-r--r-- | contrib/nvi/common/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/nvi/common/common.h b/contrib/nvi/common/common.h index ad559a5a2267..256fe6a0029a 100644 --- a/contrib/nvi/common/common.h +++ b/contrib/nvi/common/common.h @@ -7,7 +7,7 @@ * 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. */ /* |