You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
704 B

  1. From 34825d50db18631a92902af3f51ddd27aa074c90 Mon Sep 17 00:00:00 2001
  2. From: Jeroen Roovers <jer-gentoo@users.noreply.github.com>
  3. Date: Fri, 13 Apr 2018 05:54:42 +0200
  4. Subject: [PATCH 2/2] Include cmath ...
  5. ... instead of using the C implementations of isnan and isinf
  6. ---
  7. src/node_crypto.cc | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/src/node_crypto.cc b/src/node_crypto.cc
  10. index 7c0f65a5735..0aa4adbd467 100644
  11. --- a/src/node_crypto.cc
  12. +++ b/src/node_crypto.cc
  13. @@ -36,9 +36,9 @@
  14. #include "v8.h"
  15. #include <algorithm>
  16. +#include <cmath>
  17. #include <errno.h>
  18. #include <limits.h> // INT_MAX
  19. -#include <math.h>
  20. #include <stdlib.h>
  21. #include <string.h>
  22. #include <vector>