This information is correct the header file libintl.h is NOT included in the binary distro. For a workaround, you can create an empty libintl.h file in local header directory and add that dir to the include path. When compilinga server side C function with VS2010 or VS2005 The struct redefiniition is due to itimerval being defined both in include/port/win32.h and include/pg_config_os.h IS this just a matter of getting the order of header includes right? Or should both files be included? Or should a struct be defined in both place? Anyway commenting out the struct defintion in pg_config_os.h works as a quick fix hack.. It would be good to know what the right approach is. Cheers Tim -- View this message in context: http://postgresql.1045698.n5.nabble.com/C-User-defined-functions-tp1911904p2472055.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general