From: Thomas Munro Date: Tue, 25 Apr 2023 22:39:46 +0000 (+1200) Subject: Remove bogus #include added by d4e71df6d75. X-Git-Tag: REL_16_BETA1~133 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=828e93a6f2dbf4bc7a24bc3ce166c34879eeb8b1;p=thirdparty%2Fpostgresql.git Remove bogus #include added by d4e71df6d75. The recently added inclusion of guc.h in smgr.h is not necessary and introduces more server-related stuff. Removing the directive helps avoid potential issues with including sgmr.h in frontends. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20230425.115748.2130383825066921512.horikyota.ntt%40gmail.com --- diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h index 17fba6f91af..a9a179aabac 100644 --- a/src/include/storage/smgr.h +++ b/src/include/storage/smgr.h @@ -17,7 +17,6 @@ #include "lib/ilist.h" #include "storage/block.h" #include "storage/relfilelocator.h" -#include "utils/guc.h" /* * smgr.c maintains a table of SMgrRelation objects, which are essentially