aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gsocket.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2005-01-27 11:52:46 +0000
committerLaurent Guerby <guerby@gcc.gnu.org>2005-01-27 11:52:46 +0000
commit9011d4bba2ab7372d8511a13b6c5ed4dbab69ed2 (patch)
tree045b52c35ee7c8f3d6b20f0fafe565d5dd35c779 /gcc/ada/gsocket.h
parentdad2a933ba0fe99918377dc328ce87325365fb91 (diff)
downloadgcc-9011d4bba2ab7372d8511a13b6c5ed4dbab69ed2.zip
gcc-9011d4bba2ab7372d8511a13b6c5ed4dbab69ed2.tar.gz
gcc-9011d4bba2ab7372d8511a13b6c5ed4dbab69ed2.tar.bz2
re PR ada/19488 (RTEMS Ada RTS doesn't compile)
2005-01-27 Joel Sherrill <joel.sherrill@oarcorp.com> Laurent GUERBY <laurent@guerby.net> PR ada/19488 * 5rosinte.ads: Add No_Key constant. * 5rtpopsp.adb: Initialize ATCB_Key with No_Key and fix style. * gsocket.h: Do not include <sys/socket.h> with RTEMS either. Co-Authored-By: Laurent GUERBY <laurent@guerby.net> From-SVN: r94318
Diffstat (limited to 'gcc/ada/gsocket.h')
-rw-r--r--gcc/ada/gsocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h
index 134aa26..c500019 100644
--- a/gcc/ada/gsocket.h
+++ b/gcc/ada/gsocket.h
@@ -62,6 +62,6 @@
#include "system.h"
#endif
-#if !(defined (VMS) || defined (__MINGW32__))
+#if !(defined (VMS) || defined (__MINGW32__) || defined(__rtems__))
# include <sys/socket.h>
#endif