Skip to content

Instantly share code, notes, and snippets.

@hgaiser
Created September 30, 2015 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgaiser/d5be42755c811f68b040 to your computer and use it in GitHub Desktop.
Save hgaiser/d5be42755c811f68b040 to your computer and use it in GitHub Desktop.
diff --git a/src/mongo/shell/linenoise_utf8.h b/src/mongo/shell/linenoise_utf8.h
index cb41822..29ecfff 100644
--- a/src/mongo/shell/linenoise_utf8.h
+++ b/src/mongo/shell/linenoise_utf8.h
@@ -17,6 +17,7 @@
#include <boost/smart_ptr/scoped_array.hpp>
#include <string.h>
+#include <algorithm>
namespace linenoise_utf8 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment