diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-27 08:38:14 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-11-07 14:03:51 +0100 |
commit | 64f900c9cee60a4c9229501a81f3ecd68802102a (patch) | |
tree | 30dc95dc12756119e22bc7b1dd76330528ac962a | |
parent | cf6e411f17be3bdce2df24911517798df4172859 (diff) | |
download | cygnal-64f900c9cee60a4c9229501a81f3ecd68802102a.tar.gz cygnal-64f900c9cee60a4c9229501a81f3ecd68802102a.tar.bz2 cygnal-64f900c9cee60a4c9229501a81f3ecd68802102a.zip |
Provide cap_ioctl_t for RTEMS
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
-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; |