aboutsummaryrefslogtreecommitdiff
path: root/src/port/win32pwrite.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-09-17 09:21:59 -0700
committerAndres Freund <andres@anarazel.de>2022-09-17 09:21:59 -0700
commit43fcaa345d5af45101c5d96dd164f1ebed686b2c (patch)
treec3ea17d0807c794c9cce08bf1248d7aba3001124 /src/port/win32pwrite.c
parent8d513a6b71b7ad94331a485adaf00adce8ee74ec (diff)
downloadpostgresql-43fcaa345d5af45101c5d96dd164f1ebed686b2c.tar.gz
postgresql-43fcaa345d5af45101c5d96dd164f1ebed686b2c.zip
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/win32pwrite.c')
-rw-r--r--src/port/win32pwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/win32pwrite.c b/src/port/win32pwrite.c
index 455cec4a747..7f2e62e8a78 100644
--- a/src/port/win32pwrite.c
+++ b/src/port/win32pwrite.c
@@ -12,7 +12,7 @@
*/
-#include "postgres.h"
+#include "c.h"
#include <windows.h>