Include necessary header files in radixtree.h.
Masahiko Sawada <msawada@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/include/lib/radixtree.h | modified | +4 −2 |
Discussion
- Fix an error while building test_radixtree.c with TEST_SHARED_RT 8 messages · 2024-11-18 → 2024-11-26