]> granicus.if.org Git - postgresql/commit
Silence compiler warning in sepgsql
authorJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:21:25 +0000 (14:21 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:24:29 +0000 (14:24 -0700)
commitbd190eae36191a6795c4f0fe95419dbf2953d2b0
treef985050b22868bf4473f011b00d7021e15809099
parentd611517fc44ebbf7e0d563de6d4cd98fd342a762
Silence compiler warning in sepgsql

<selinux/label.h> includes <stdbool.h>, which creates an incompatible
We don't care if <stdbool.h> redefines "true"/"false"; those are close
enough.

Complaint and initial patch by Mike Palmiotto. Final approach per
Tom Lane's suggestion, as discussed on hackers. Backpatching to
all supported branches.

Discussion: https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com
contrib/sepgsql/label.c