From da5b283895300f51440700beb0938b6588ea3965 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Thu, 12 May 2016 09:44:29 -0700 Subject: [PATCH] Include limits.h in IOVec.h. Summary: According to the POSIX definition, IOV_MAX is defined in limits.h. Given that IOVec.h is used to provide IOV_MAX and similar, it seems like we should add limits.h as well. Differential Revision: D3291996 fbshipit-source-id: 238140ebef7b1b90a28f3a67a25c5f5863538fc7 --- folly/portability/IOVec.h | 1 + 1 file changed, 1 insertion(+) diff --git a/folly/portability/IOVec.h b/folly/portability/IOVec.h index 74e48098..42116ff1 100755 --- a/folly/portability/IOVec.h +++ b/folly/portability/IOVec.h @@ -19,6 +19,7 @@ // This file only exists because without it there would be // a circular dependency between SysUio.h, Sockets.h, and Unistd.h #ifndef _WIN32 +#include #include #else #include -- 2.34.1