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 56d45fdab7
commit b4b4b817da
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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