summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Aldridge <i80and@foxquill.com>2017-09-26 16:09:20 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2017-09-27 16:27:19 -0400
commit1d1ea84097f6234a9dbc74158da720c4a30d9005 (patch)
tree85e299c476917dea3896eca9aea95ef72f36630d /src
parent8f39eb8fdcc9e99e278089894a3b024b2e6c3bc4 (diff)
downloadmongo-1d1ea84097f6234a9dbc74158da720c4a30d9005.tar.gz
SERVER-31272: Include sys/resource.h on Unix
Closes #1177 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Diffstat (limited to 'src')
-rw-r--r--src/mongo/transport/service_entry_point_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/transport/service_entry_point_utils.cpp b/src/mongo/transport/service_entry_point_utils.cpp
index 33df131f94a..0d14fa1b4ed 100644
--- a/src/mongo/transport/service_entry_point_utils.cpp
+++ b/src/mongo/transport/service_entry_point_utils.cpp
@@ -39,7 +39,7 @@
#include "mongo/util/debug_util.h"
#include "mongo/util/log.h"
-#ifdef __linux__ // TODO: consider making this ifndef _WIN32
+#if !defined(_WIN32)
#include <sys/resource.h>
#endif