diff --git a/contrib/sepgsql/sepgsql.h b/contrib/sepgsql/sepgsql.h
index 1a27818fbe84e50b243d7922e2bd96c556e1f011..ba7b2d15975f7f95b0d31fed0ac17f01d08edbe5 100644
--- a/contrib/sepgsql/sepgsql.h
+++ b/contrib/sepgsql/sepgsql.h
@@ -12,6 +12,8 @@
 #define SEPGSQL_H
 
 #include "catalog/objectaddress.h"
+#include "fmgr.h"
+
 #include <selinux/selinux.h>
 
 /*