c++: Another solaris header use [PR 98315]
authorNathan Sidwell <nathan@acm.org>
Wed, 16 Dec 2020 19:53:27 +0000 (11:53 -0800)
committerNathan Sidwell <nathan@acm.org>
Wed, 16 Dec 2020 19:57:31 +0000 (11:57 -0800)
commitb7b6879f0b5c2a40779df50651d20bd39d89bcc5
tree9e68c37eb92c4326e1459cd96ad61a220f4f75dd
parent8d8bb85b48693a8a8a26e03ea4469888a1170f01
c++: Another solaris header use [PR 98315]

Rather than early-include sys/socket.h, let's allow the includer to
tell cody no networking.

libcody/
* cody.hh: Allow user to set CODY_NETWORKING.
gcc/cp/
* mapper-resolver.cc: Remove early include of
sys/socket.h.  Specify no CODY_NETWORKING instead.
* module.cc: Specify no CODY_NETWORKING.
gcc/cp/mapper-resolver.cc
gcc/cp/module.cc
libcody/cody.hh