]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Silence compiler warning in sepgsql
authorJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:22:01 +0000 (14:22 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:24:53 +0000 (14:24 -0700)
commit1d6f5b446fc84d8974087e66d2603ef81387a052
tree0cd95f67ba8fc16880b57bed2bcd4fb5f0158647
parentf2389f119f52027a4136c531f29b49a86d3fffc0
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