]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix vi build on Linux/macOS
authorAlex Richardson <arichardson@FreeBSD.org>
Mon, 21 Sep 2020 09:03:42 +0000 (09:03 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Mon, 21 Sep 2020 09:03:42 +0000 (09:03 +0000)
commit2bd2b113353d79cc7bdd315c3c76e0fc13218219
tree7a0cd52ed4ba181f8df2c282504e587470214158
parent86ce5365215ab252e0d1904b410381c96cfc4076
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
contrib/nvi/common/common.h