diff options
Diffstat (limited to 'gcc-4.9/gcc/ada/gsocket.h')
-rw-r--r-- | gcc-4.9/gcc/ada/gsocket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/ada/gsocket.h b/gcc-4.9/gcc/ada/gsocket.h index e21d71427..1d9235f4a 100644 --- a/gcc-4.9/gcc/ada/gsocket.h +++ b/gcc-4.9/gcc/ada/gsocket.h @@ -183,6 +183,11 @@ #include <sys/time.h> #endif +#if defined(__rtems__) +#include <unistd.h> +/* Required, for read(), write(), and close() */ +#endif + /* * RTEMS has these .h files but not until you have built and installed RTEMS. * When building a C/C++ toolset, you also build the newlib C library, so the |