Fabien,
>> ifdef PGXS
>> override CPPFLAGS := -I$(includedir_server)
>>-I$(includedir_server)/port/win32 -I$(includedir_internal) $(CPPFLAGS)
>> else # not PGXS
>> ...
>
>
> Why can't you #include "port/win32/some_file.h" which would (I think)
> avoid the issue without adding a win32 specific -I to all architectures??
> I'm not sure I'm happy if I see a win32 path when compiling under some
> unix.
>
I'm not sure I understand. I'm not the one including the missing files.
They are included when I include postgres.h.
Regards,
Thomas Hallgren