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