I've found the mistake - as usual it's down to me! I didn't realise that I had to include postgres.h before including
geo_decls.h All now compiles ok.<br /><br /> Tony<br /><br /> Tony Griffiths wrote:<br /><blockquote
cite="mid:3D03D9BC.B2BFCC51@cs.man.ac.uk"type="cite"><pre wrap="">I've looked in fmgr.h and there is no definition of
thistype there - it<br />uses the type, but does not define it.<br /><br />Peter Eisentraut wrote:<br
/></pre><blockquotetype="cite"><pre wrap="">Tony Griffiths writes:<br /><br /></pre><blockquote type="cite"><pre
wrap="">I'vedone a search of all the header files in my installation (and also<br />all the source files that I
compiled),and cannot find the definition of<br />the PGFunction type. Does anyone have any idea of where I can find
this<br/>definition, or of why it might be missing.<br /></pre></blockquote><pre wrap="">fmgr.h<br /><br />--<br
/>PeterEisentraut <a class="moz-txt-link-abbreviated" href="mailto:peter_e@gmx.net">peter_e@gmx.net</a><br /><br
/>---------------------------(endof broadcast)---------------------------<br />TIP 6: Have you searched our list
archives?<br/><br /><a class="moz-txt-link-freetext"
href="http://archives.postgresql.org">http://archives.postgresql.org</a><br/></pre></blockquote><pre wrap=""><br
/></pre></blockquote><br/>