diff options
author | Andres Freund <andres@anarazel.de> | 2022-09-17 09:21:59 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-09-17 09:23:53 -0700 |
commit | b4b4b817da5a6293b17109f5a2d61f2e1ab8cf11 (patch) | |
tree | 928934f5239ac76b499bb822419d5ff3f9408165 /src/port/pwrite.c | |
parent | 56d45fdab7b12cd0c767a8c1e7ab6c04390a32d8 (diff) |
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 3fd2a7932ef introduced (some) of these files
Diffstat (limited to 'src/port/pwrite.c')
-rw-r--r-- | src/port/pwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/pwrite.c b/src/port/pwrite.c index 282b27115e5..e3a132aa7aa 100644 --- a/src/port/pwrite.c +++ b/src/port/pwrite.c @@ -15,7 +15,7 @@ */ -#include "postgres.h" +#include "c.h" #ifdef WIN32 #include <windows.h> |