I'm trying to build a. dll file to extend the postgres server with C functions. I'm using visual studio 2012 to build the dll, and PostgreSQL 9.2. I imported all directories postgres "\include\server*" But I'm having the errors:
error C2011: 'timezone': 'struct' type redefinition
error C2011: 'itimerval': 'struct' type redefinition
I posted the same question at stackoverflow (http://stackoverflow.com/questions/14538652/error-c2011-timezonestruct-type-redefinition-postgres), no answers there.