diff options
Diffstat (limited to 'cpukit/libcsupport/include/sys/event.h')
-rw-r--r-- | cpukit/libcsupport/include/sys/event.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/sys/event.h b/cpukit/libcsupport/include/sys/event.h index 6639b1ed66..bc18aa90ea 100644 --- a/cpukit/libcsupport/include/sys/event.h +++ b/cpukit/libcsupport/include/sys/event.h @@ -23,13 +23,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: head/sys/sys/event.h 311055 2017-01-02 09:02:39Z kib $ + * $FreeBSD: head/sys/sys/event.h 313704 2017-02-13 19:00:09Z ed $ */ #ifndef _SYS_EVENT_H_ #define _SYS_EVENT_H_ -#include <sys/queue.h> +#include <sys/_types.h> +#include <sys/queue.h> #define EVFILT_READ (-1) #define EVFILT_WRITE (-2) @@ -43,7 +44,8 @@ #define EVFILT_LIO (-10) /* attached to lio requests */ #define EVFILT_USER (-11) /* User events */ #define EVFILT_SENDFILE (-12) /* attached to sendfile requests */ -#define EVFILT_SYSCOUNT 12 +#define EVFILT_EMPTY (-13) /* empty send socket buf */ +#define EVFILT_SYSCOUNT 13 #define EV_SET(kevp_, a, b, c, d, e, f) do { \ struct kevent *kevp = (kevp_); \ @@ -56,11 +58,11 @@ } while(0) struct kevent { - uintptr_t ident; /* identifier for this event */ + __uintptr_t ident; /* identifier for this event */ short filter; /* filter for event */ - u_short flags; - u_int fflags; - intptr_t data; + unsigned short flags; + unsigned int fflags; + __intptr_t data; void *udata; /* opaque user data identifier */ }; |