diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/libnetworking/rtems_webserver/socket.c | 4 | ||||
-rw-r--r-- | cpukit/httpd/socket.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/c/src/libnetworking/rtems_webserver/socket.c b/c/src/libnetworking/rtems_webserver/socket.c index 101a1dbcc1..81d81eb6fd 100644 --- a/c/src/libnetworking/rtems_webserver/socket.c +++ b/c/src/libnetworking/rtems_webserver/socket.c @@ -18,6 +18,10 @@ #include <stdlib.h> #include <unistd.h> +#if __rtems__ +#include <sys/select.h> +#endif + #include "uemf.h" /*********************************** Defines **********************************/ diff --git a/cpukit/httpd/socket.c b/cpukit/httpd/socket.c index 101a1dbcc1..81d81eb6fd 100644 --- a/cpukit/httpd/socket.c +++ b/cpukit/httpd/socket.c @@ -18,6 +18,10 @@ #include <stdlib.h> #include <unistd.h> +#if __rtems__ +#include <sys/select.h> +#endif + #include "uemf.h" /*********************************** Defines **********************************/ |