summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-11-13 00:06:06 -0500
committerEliot Horowitz <eliot@10gen.com>2012-11-13 00:06:06 -0500
commit1bd9f2405082ec202fe7d574c8b22e5ad18a4c63 (patch)
treef49e65ccf0daacd3ae243a6793684960e2975d38 /src/mongo/platform
parent5b5690339ed066bfc8025dd1fa60d4e3c75f538d (diff)
downloadmongo-1bd9f2405082ec202fe7d574c8b22e5ad18a4c63.tar.gz
solaris needs stdio.h
Diffstat (limited to 'src/mongo/platform')
-rw-r--r--src/mongo/platform/random.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/platform/random.cpp b/src/mongo/platform/random.cpp
index 2e26d59e396..8010b794503 100644
--- a/src/mongo/platform/random.cpp
+++ b/src/mongo/platform/random.cpp
@@ -22,6 +22,7 @@
#include <cstdlib>
#include <iostream>
#include <fstream>
+#include <stdio.h>
#ifndef _WIN32
#include <errno.h>