summaryrefslogtreecommitdiff
path: root/gmpxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gmpxx.h')
-rw-r--r--gmpxx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmpxx.h b/gmpxx.h
index 95ee995d3..65e192d1f 100644
--- a/gmpxx.h
+++ b/gmpxx.h
@@ -26,6 +26,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include <cstring> /* for strlen */
#include <limits> /* numeric_limits */
#include <utility>
+#include <algorithm> /* swap */
#include <string>
#include <stdexcept>
#include <cfloat>