]> granicus.if.org Git - postgresql/commit
Silence compiler warning in sepgsql
authorJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:21:54 +0000 (14:21 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 6 Apr 2017 21:24:50 +0000 (14:24 -0700)
commit649cd9085efb2cb4e21eec3b3861f46e89ba3a34
treee3b5867c1f4f8758fc9aa44610a25d5990854b94
parentc2f08c6429457a92c99906e5fa56069c57fbe3f2
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