postgresql/contrib/uuid-ossp
Tom Lane 20c27fdfd3 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 <arpa/inet.h> is required for these.
We have a lot of code elsewhere that thinks that both <netinet/in.h>
and <arpa/inet.h> should be included for these functions, so do it that
way here too, even though <arpa/inet.h> ought to be sufficient according
to the references I consulted.

Back-patch to 9.4 where the previous commit landed.
2016-12-17 22:24:44 -05:00
..
expected Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
sql Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
.gitignore Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
Makefile Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
uuid-ossp--1.0.sql Fix quoting in help messages in uuid-ossp extension scripts. 2013-11-22 12:07:53 -05:00
uuid-ossp--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:28 +02:00
uuid-ossp.c In contrib/uuid-ossp, #include headers needed for ntohl() and ntohs(). 2016-12-17 22:24:44 -05:00
uuid-ossp.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00