]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix vi build on Linux/macOS
authorarichardson <arichardson@FreeBSD.org>
Mon, 21 Sep 2020 09:03:42 +0000 (09:03 +0000)
committerarichardson <arichardson@FreeBSD.org>
Mon, 21 Sep 2020 09:03:42 +0000 (09:03 +0000)
commit5942f048f5c5331162034eaee1c092fbb6df6de2
tree7a0cd52ed4ba181f8df2c282504e587470214158
parent09610d8dd52fb515e960553410112f555119943d
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