v13 + other support
[smlar.git] / smlar_gist.c
index 8cd044b..7d77788 100644 (file)
@@ -3,7 +3,11 @@
 #include "fmgr.h"
 #include "access/gist.h"
 #include "access/skey.h"
 #include "fmgr.h"
 #include "access/gist.h"
 #include "access/skey.h"
+#if PG_VERSION_NUM < 130000
+#include "access/tuptoaster.h"
+#else
 #include "access/heaptoast.h"
 #include "access/heaptoast.h"
+#endif
 #include "utils/memutils.h"
 
 typedef struct SmlSign {
 #include "utils/memutils.h"
 
 typedef struct SmlSign {