diff options
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 7 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_syscall.c | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index faf601c735..d9be5af2d3 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h @@ -22,12 +22,6 @@ typedef long long vm_ooffset_t; typedef unsigned int vm_pindex_t; typedef unsigned int vm_size_t; -#ifndef __ioctl_command_defined -typedef u_int32_t ioctl_command_t; -#define __ioctl_command_defined -#endif - - #define _BSD_OFF_T_ int32_t #define _BSD_PID_T_ rtems_id #define _BSD_VA_LIST_ char * @@ -38,6 +32,7 @@ typedef u_int32_t ioctl_command_t; #include <sys/cdefs.h> #include <sys/time.h> +#include <sys/ioctl.h> struct mdproc { int md_flags; diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c index d4a9e57b4f..727eac6ad2 100644 --- a/cpukit/libnetworking/rtems/rtems_syscall.c +++ b/cpukit/libnetworking/rtems/rtems_syscall.c @@ -88,7 +88,6 @@ rtems_bsdnet_makeFdForSocket (void *so) iop->data0 = fd; iop->data1 = so; iop->pathinfo.handlers = &socket_handlers; - 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; |