bspatch: Remove backwards-compatibility sys/capability.h support
authoremaste <emaste@FreeBSD.org>
Tue, 20 Sep 2016 15:13:15 +0000 (15:13 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 20 Sep 2016 15:13:15 +0000 (15:13 +0000)
commit484e27fa0308a93eaef84f89c02d7eefea7b0f93
treeb9c57ee97f2219d5344e5687b388fefef6e5d623
parent506a35e5a580d41737c5347dc08e02f57208742d
bspatch: Remove backwards-compatibility sys/capability.h support

bspatch previously included sys/capability.h or sys/capsicum.h based
on __FreeBSD_version, as FreeBSD is the upstream for bsdiff and we may
see this file incorporated into other third-party software.

The Capsicum header is now installed as sys/capsicum.h in stable/10 and
FreeBSD 10.3, so we can just use sys/capsicum.h and simplify the logic.

Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D7954
usr.bin/bsdiff/bspatch/bspatch.c