Fix header file dependencies.

MIPS' asm/fcntl.h assumes a bunch of __kernel_* types are already declared.

Change-Id: Iff701bbb5ede9667a78230c2de3a8f4fe41371c5
This commit is contained in:
Elliott Hughes 2013-10-23 11:25:54 -07:00
parent 97dc3309f3
commit 93de3d881d
2 changed files with 4 additions and 0 deletions

View File

@ -25,10 +25,12 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _SYS_EPOLL_H_
#define _SYS_EPOLL_H_
#include <sys/cdefs.h>
#include <sys/types.h>
#include <asm/fcntl.h> /* For O_CLOEXEC. */
__BEGIN_DECLS

View File

@ -25,10 +25,12 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _SYS_INOTIFY_H_
#define _SYS_INOTIFY_H_
#include <sys/cdefs.h>
#include <sys/types.h>
#include <stdint.h>
#include <linux/inotify.h>
#include <asm/fcntl.h> /* For O_CLOEXEC and O_NONBLOCK. */