]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Include necessary header files in radixtree.h.
authorMasahiko Sawada <msawada@postgresql.org>
Mon, 9 Dec 2024 21:07:03 +0000 (13:07 -0800)
committerMasahiko Sawada <msawada@postgresql.org>
Mon, 9 Dec 2024 21:07:03 +0000 (13:07 -0800)
commita12b0f3a9dc08ed18711fdcd38763cb3f6bc9f69
tree6742e832f0e16cbeab561bfc7ec0f9a358fbee8b
parentf36fe5d07bf94c97cfb6b3f3eefef47702a70e97
Include necessary header files in radixtree.h.

When #include'ing radixtree.h with RT_SHMEM, it could happen to raise
compiler errors due to missing some declarations of types and
functions.

This commit also removes the inclusion of postgres.h since it's
against our usual convention.

Backpatch to v17, where radixtree.h was introduced.

Reviewed-by: Heikki Linnakangas, Álvaro Herrera
Discussion: https://postgr.es/m/CAD21AoCU9YH%2Bb9Rr8YRw7UjmB%3D1zh8GKQkWNiuN9mVhMvkyrRg%40mail.gmail.com
Backpatch-through: 17
src/include/lib/radixtree.h