diff options
Diffstat (limited to 'cpukit/libcsupport/src/libio_sockets.c')
-rw-r--r-- | cpukit/libcsupport/src/libio_sockets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/libio_sockets.c b/cpukit/libcsupport/src/libio_sockets.c index c67e19d78c..ff02e0f4ea 100644 --- a/cpukit/libcsupport/src/libio_sockets.c +++ b/cpukit/libcsupport/src/libio_sockets.c @@ -18,6 +18,7 @@ #include <rtems/libio_.h> #include <rtems/seterr.h> +#include <rtems/rtems_bsdnet_internal.h> /* * Convert an RTEMS file descriptor to a BSD socket pointer. @@ -69,5 +70,7 @@ int rtems_bsdnet_makeFdForSocket( iop->data1 = so; iop->pathinfo.handlers = h; iop->pathinfo.ops = &rtems_filesystem_operations_default; + iop->pathinfo.mt_entry = &rtems_filesystem_null_mt_entry; + rtems_filesystem_location_add_to_mt_entry(&iop->pathinfo); return fd; } |