summaryrefslogtreecommitdiff
path: root/gcc/ada/gsocket.h
diff options
context:
space:
mode:
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-27 11:52:46 +0000
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-27 11:52:46 +0000
commit83fa7089cf88f2977721ecc3ced4a06c176c6bba (patch)
tree045b52c35ee7c8f3d6b20f0fafe565d5dd35c779 /gcc/ada/gsocket.h
parent9366434c4411d7e5cfc8d85c3a18d2487b030178 (diff)
downloadgcc-83fa7089cf88f2977721ecc3ced4a06c176c6bba.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94318 138bc75d-0d04-0410-961f-82ee72b054a4
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 134aa2620de..c500019b617 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