ada: Define sigset for systems that does not suport sockets
commit6c2b2de098af7d3bf42126301438b70ad1279bcd
authorCedric Landet <landet@adacore.com>
Fri, 31 Mar 2023 12:24:46 +0000 (31 14:24 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 29 May 2023 08:23:23 +0000 (29 10:23 +0200)
tree00454231f2c55a3e5ea5041f9525f490cbec9e1e
parente7c20cedbd61d5252f4d17d4c2a538f0112df053
ada: Define sigset for systems that does not suport sockets

In s-oscons-tmplt.c, sigset is defined inside the HAVE_SOCKETS bloc.
A platform could require sigset without supporting sockets.

gcc/ada/

* s-oscons-tmplt.c: move the definition of sigset out of the
HAVE_SOCKETS bloc.
gcc/ada/s-oscons-tmplt.c