From f20c321efc8a069ee58764fab5f006a9a0be74cc Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 27 May 2016 12:43:39 -0700 Subject: [PATCH] Bug 1269501: Follow-up: Fix build error on Android. r=bustage MozReview-Commit-ID: EmB0vjvLPzu --- dom/system/OSFileConstants.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/system/OSFileConstants.cpp b/dom/system/OSFileConstants.cpp index 0c738ea78e7f..1d15c3f86c77 100644 --- a/dom/system/OSFileConstants.cpp +++ b/dom/system/OSFileConstants.cpp @@ -500,7 +500,9 @@ static const dom::ConstantSpec gLibcProperties[] = INT_CONSTANT(POLLOUT), // wait +#if defined(WNOHANG) INT_CONSTANT(WNOHANG), +#endif // defined(WNOHANG) // fcntl command values INT_CONSTANT(F_GETLK),