diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-27 09:38:14 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-11-07 16:03:51 +0300 |
commit | 64f900c9cee60a4c9229501a81f3ecd68802102a (patch) | |
tree | 30dc95dc12756119e22bc7b1dd76330528ac962a /newlib | |
parent | cf6e411f17be3bdce2df24911517798df4172859 (diff) |
Provide cap_ioctl_t for RTEMS
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/sys/rtems/include/machine/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/include/machine/types.h b/newlib/libc/sys/rtems/include/machine/types.h index afbb341ea..797702776 100644 --- a/newlib/libc/sys/rtems/include/machine/types.h +++ b/newlib/libc/sys/rtems/include/machine/types.h @@ -35,6 +35,11 @@ typedef __accmode_t accmode_t; /* access permissions */ #define _ACCMODE_T_DECLARED #endif +#ifndef _CAP_IOCTL_T_DECLARED +#define _CAP_IOCTL_T_DECLARED +typedef unsigned long cap_ioctl_t; +#endif + #ifndef _CAP_RIGHTS_T_DECLARED #define _CAP_RIGHTS_T_DECLARED struct cap_rights; |