PostGIS  2.1.10dev-r@@SVN_REVISION@@
typedef struct rect_node RECT_NODE

Note that p1 and p2 are pointers into an independent POINTARRAY, do not free them.