Remove unnecessary includes of system headers in header files

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Remove unnecessary includes of system headers in header files
Date: 2023-12-01 07:53:44
Message-ID: cff5475d-e0a9-4561-b094-794aa36bd031@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Remove-unnecessary-includes-of-signal.h.patch text/plain 1.3 KB
0002-Remove-unnecessary-include-of-sys-socket.h.patch text/plain 881 bytes
0003-Remove-unnecessary-include-of-math.h.patch text/plain 782 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2023-12-01 08:20:08 Re: [PoC] pg_upgrade: allow to upgrade publisher node
Previous Message Michael Paquier 2023-12-01 07:18:55 Re: Bug in pgbench prepared statements