]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/repl/heap/store_heap_replacement.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / repl / heap / store_heap_replacement.cc
index 8ecd07fadbd4e96bbb0c4c8140addd1f5cfdb334..b005a45a773cdb7a5a511cbb40eac5681f764636 100644 (file)
 #include "MemObject.h"
 #include "SquidTime.h"
 
+#if HAVE_MATH_H
+#include <math.h>
+#endif
+
 /*
  * Key generation function to implement the LFU-DA policy (Least
  * Frequently Used with Dynamic Aging).  Similar to classical LFU
@@ -94,7 +98,6 @@ HeapKeyGen_StoreEntry_LFUDA(void *entry, double heap_age)
     return (double) key;
 }
 
-
 /*
  * Key generation function to implement the GDS-Frequency policy.
  * Similar to Greedy Dual-Size Hits policy, but adds aging of