xref: /freebsd/lib/libnetbsd/sys/event.h (revision 8a979e7ad72d9e37843740f7b54dd487f8bdfc6d)
1*8a979e7aSEnji Cooper /*-
2*8a979e7aSEnji Cooper  * Copyright (c) 2017 Dell, Inc.
3*8a979e7aSEnji Cooper  * All rights reserved.
4*8a979e7aSEnji Cooper  *
5*8a979e7aSEnji Cooper  * Redistribution and use in source and binary forms, with or without
6*8a979e7aSEnji Cooper  * modification, are permitted provided that the following conditions are met:
7*8a979e7aSEnji Cooper  *
8*8a979e7aSEnji Cooper  * 1. Redistributions of source code must retain the above copyright notice,
9*8a979e7aSEnji Cooper  * this list of conditions and the following disclaimer.
10*8a979e7aSEnji Cooper  *
11*8a979e7aSEnji Cooper  * 2. Redistributions in binary form must reproduce the above copyright notice,
12*8a979e7aSEnji Cooper  * this list of conditions and the following disclaimer in the documentation
13*8a979e7aSEnji Cooper  * and/or other materials provided with the distribution.
14*8a979e7aSEnji Cooper  *
15*8a979e7aSEnji Cooper  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
16*8a979e7aSEnji Cooper  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17*8a979e7aSEnji Cooper  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18*8a979e7aSEnji Cooper  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
19*8a979e7aSEnji Cooper  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*8a979e7aSEnji Cooper  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21*8a979e7aSEnji Cooper  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*8a979e7aSEnji Cooper  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*8a979e7aSEnji Cooper  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*8a979e7aSEnji Cooper  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*8a979e7aSEnji Cooper  * SUCH DAMAGE.
26*8a979e7aSEnji Cooper  *
27*8a979e7aSEnji Cooper  * $FreeBSD$ *
28*8a979e7aSEnji Cooper  */
29*8a979e7aSEnji Cooper 
30*8a979e7aSEnji Cooper #ifndef _LIBNETBSD_SYS_EVENT_H_
31*8a979e7aSEnji Cooper #define	_LIBNETBSD_SYS_EVENT_H_
32*8a979e7aSEnji Cooper 
33*8a979e7aSEnji Cooper /*
34*8a979e7aSEnji Cooper  * kqueue on FreeBSD requires sys/event.h, which in turn uses uintptr_t
35*8a979e7aSEnji Cooper  * (defined in sys/types.h), so in order to accomodate their requirements,
36*8a979e7aSEnji Cooper  * pull in sys/types.h as part of event.h.
37*8a979e7aSEnji Cooper  */
38*8a979e7aSEnji Cooper #include <sys/types.h>
39*8a979e7aSEnji Cooper 
40*8a979e7aSEnji Cooper #include_next <sys/event.h>
41*8a979e7aSEnji Cooper 
42*8a979e7aSEnji Cooper #endif
43