From 93de3d881d8c24eddadf0c5b5dce0754fcca67ae Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 23 Oct 2013 11:25:54 -0700 Subject: [PATCH] Fix header file dependencies. MIPS' asm/fcntl.h assumes a bunch of __kernel_* types are already declared. Change-Id: Iff701bbb5ede9667a78230c2de3a8f4fe41371c5 --- libc/include/sys/epoll.h | 2 ++ libc/include/sys/inotify.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libc/include/sys/epoll.h b/libc/include/sys/epoll.h index 625f4c20e..1e207d856 100644 --- a/libc/include/sys/epoll.h +++ b/libc/include/sys/epoll.h @@ -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 +#include #include /* For O_CLOEXEC. */ __BEGIN_DECLS diff --git a/libc/include/sys/inotify.h b/libc/include/sys/inotify.h index a88cdee48..dcdd29a0e 100644 --- a/libc/include/sys/inotify.h +++ b/libc/include/sys/inotify.h @@ -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 +#include #include #include #include /* For O_CLOEXEC and O_NONBLOCK. */