From 25a29d452e53f46766c2d26e4384c7378db3b571 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
Date: Thu, 23 Feb 2017 10:45:42 -0800
Subject: Add a missing #include for openat(2).

Bug: https://code.google.com/p/android/issues/detail?id=64374
Test: builds
Change-Id: I7d7650463197710657820a1adce51f71c1b01415
---
 minui/events.cpp | 1 +
 1 file changed, 1 insertion(+)

(limited to 'minui')

diff --git a/minui/events.cpp b/minui/events.cpp
index 6dd60fe68..fa44033d2 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -15,6 +15,7 @@
  */
 
 #include <dirent.h>
+#include <fcntl.h>
 #include <linux/input.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
cgit v1.2.3