X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/af4e866dbb1455a50d51b3d5f46832f1a36e2080..9aba884b348432a3ef802723a5f6692b353bbaa8:/src/solarisfixes.h

diff --git a/src/solarisfixes.h b/src/solarisfixes.h
index ce8e7b6f..3cb091d4 100644
--- a/src/solarisfixes.h
+++ b/src/solarisfixes.h
@@ -1,6 +1,7 @@
 /* Solaris specific fixes */
 
 #if defined(__GNUC__)
+#include <math.h>
 #undef isnan
 #define isnan(x) \
      __extension__({ __typeof (x) __x_a = (x); \