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