diff --git a/src/include/utils/jsonb.h b/src/include/utils/jsonb.h
index 48ca9dc913c38c5da866e5a129608aa18d602d9c..470d5b10503b4153f39eb91ddfafeee073f8b2dc 100644
--- a/src/include/utils/jsonb.h
+++ b/src/include/utils/jsonb.h
@@ -241,7 +241,7 @@ enum jbvType
  */
 struct JsonbValue
 {
-	jbvType		type;			/* Influences sort order */
+	enum jbvType	type;			/* Influences sort order */
 
 	union
 	{