Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marcel Hofstetter <hofstetter@jomasoft.ch>, pgsql-bugs@lists.postgresql.org
Date: 2023-07-18T05:44:18Z
Lists: pgsql-bugs
On Mon, Jul 17, 2023 at 04:42:47PM -0400, Tom Lane wrote: > So I'm now satisfied that the problem is explained, and I'll go > put in the needful #include. Thanks for the report! Thanks for the fix. I have just noticed this thread after-the-fact. -- Michael
Commits
-
Include <limits.h> in fe-auth.c, to get CHAR_BIT reliably.
- efe8d8226929 16.0 landed
- 8fab4b348013 17.0 landed