Commit da5b2838 authored by Michael Lee's avatar Michael Lee Committed by Facebook Github Bot 6

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
parent c6ad47b6
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
// This file only exists because without it there would be // This file only exists because without it there would be
// a circular dependency between SysUio.h, Sockets.h, and Unistd.h // a circular dependency between SysUio.h, Sockets.h, and Unistd.h
#ifndef _WIN32 #ifndef _WIN32
#include <limits.h>
#include <sys/uio.h> #include <sys/uio.h>
#else #else
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment