Re: Remove unnecessary includes of system headers in header files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove unnecessary includes of system headers in header files
Date: 2023-12-01 16:41:07
Message-ID: 113776.1701448867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> I noticed that some header files included system header files for no
> apparent reason, so I did some digging and found out that in a few cases
> the original reason has disappeared. So I propose the attached patches
> to remove the unnecessary includes.

Seems generally reasonable. Have you checked that headerscheck and
cpluspluscheck are happy?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sacha Hottinger 2023-12-01 17:02:25 Building PosgresSQL with LLVM fails on Solaris 11.4
Previous Message Tristan Partin 2023-12-01 16:31:19 Re: Refactoring backend fork+exec code