diff --git a/newlib/libc/sys/rtems/include/sys/ioccom.h b/newlib/libc/sys/rtems/include/sys/ioccom.h index 9c5350d1e..2c0e9ee71 100644 --- a/newlib/libc/sys/rtems/include/sys/ioccom.h +++ b/newlib/libc/sys/rtems/include/sys/ioccom.h @@ -36,7 +36,7 @@ #include #include -typedef uint32_t ioctl_command_t; +typedef unsigned long ioctl_command_t; /* * Ioctl's have the command encoded in the lower word, and the size of @@ -79,7 +79,7 @@ typedef uint32_t ioctl_command_t; #include __BEGIN_DECLS -int ioctl(int, unsigned long, ...); +int ioctl(int, ioctl_command_t, ...); __END_DECLS #endif