[COMMITTERS] pgsql: In contrib/uuid-ossp,#include headers needed for ntohl() and nt
[COMMITTERS] pgsql: In contrib/uuid-ossp,#include headers needed for ntohl() and nt
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
In contrib/uuid-ossp, #include headers needed for ntohl() and ntohs(). Oversight in commit b8cc8f947. I just noticed this causes compiler warnings on FreeBSD, and it really ought to cause warnings elsewhere too: all references I can find say that is required for these. We have a lot of code elsewhere that thinks that both and should be included for these functions, so do it that way here too, even though ought to be sufficient according to the references I consulted. Back-patch to 9.4 where the previous commit landed. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/53140bf22bc4b361836b68f08a2946a2fd2ab240 Modified Files -------------- contrib/uuid-ossp/uuid-ossp.c | 4 ++++ 1 file changed, 4 insertions(+)