diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-12-12 12:52:04 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-12-12 12:52:04 +0100 |
commit | fe58fea70b2614f36fb9e1fde78af892426ad8a6 (patch) | |
tree | 47e75a0a07789fbe0929f7955dd7427cfbfb0c0b /gcc/ada/gsocket.h | |
parent | ee1a757231c05815f7e2f9e5e0ced98b380c0416 (diff) | |
download | gcc-fe58fea70b2614f36fb9e1fde78af892426ad8a6.zip gcc-fe58fea70b2614f36fb9e1fde78af892426ad8a6.tar.gz gcc-fe58fea70b2614f36fb9e1fde78af892426ad8a6.tar.bz2 |
[multiple changes]
2011-12-12 Gary Dismukes <dismukes@adacore.com>
* freeze.adb (Freeze_Expression): Allow freezing of static
scalar subtypes that are prefixes of an attribute, even if not
yet marked static. Such attributes will get marked as static
later in Eval_Attribute (as called from Resolve_Attribute).
* sem_attr.adb (Eval_Attribute): Remove wrong code that does an
early return for attribute prefixes that are unfrozen source-level
types. This code was incorrectly bypassing folding of unfrozen
static subtype attributes in default expressions (the executable
example in the now-deleted comment was in fact illegal).
2011-12-12 Robert Dewar <dewar@adacore.com>
* a-coinve.adb, sem_res.adb, prj-nmsc.adb, a-cobove.adb, a-convec.adb,
gnatls.adb, sem_ch13.adb, prj-env.adb, prj-env.ads: Minor reformatting.
2011-12-12 Tristan Gingold <gingold@adacore.com>
* gsocket.h: Adjust previous patch.
From-SVN: r182228
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r-- | gcc/ada/gsocket.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h index 713053d..a4507fe 100644 --- a/gcc/ada/gsocket.h +++ b/gcc/ada/gsocket.h @@ -165,13 +165,14 @@ #include <windows.h> #elif defined(VMS) +/* Allow a large number of fds for select. */ #define FD_SETSIZE 4096 -#include <sys/types.h> -#include <sys/time.h> #ifndef IN_RTS -/* These DEC C headers are not available when building with GCC */ -#include <in.h> +/* These DEC C headers are not available when building with GCC. Order is + important. */ +#include <time.h> #include <tcp.h> +#include <in.h> #include <ioctl.h> #include <netdb.h> #endif |