Include c.h instead of postgres.h in src/port/*p{read,write}*.c

Frontend code shouldn't include postgres.h. Some files in src/port/ need to
include postgres.h/postgres_fe.h, but these files don't.

Discussion: https://postgr.es/m/20220915022626.5xx3ccgkzpkqw5mq@awork3.anarazel.de
Backpatch: 12-, where 3fd2a7932e introduced (some) of these files
This commit is contained in:
Andres Freund 2022-09-17 09:21:59 -07:00
parent 8d513a6b71
commit 43fcaa345d
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
*/
#include "postgres.h"
#include "c.h"
#include <unistd.h>

View File

@ -12,7 +12,7 @@
*/
#include "postgres.h"
#include "c.h"
#include <unistd.h>

View File

@ -12,7 +12,7 @@
*/
#include "postgres.h"
#include "c.h"
#include <windows.h>

View File

@ -12,7 +12,7 @@
*/
#include "postgres.h"
#include "c.h"
#include <windows.h>