summaryrefslogtreecommitdiff
blob: 0180580717ab6fcc2de611aaf0460d689ac6f375 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/src/PatternLayout.cpp
+++ b/src/PatternLayout.cpp
@@ -24,6 +24,7 @@
 #include <iomanip>
 #include <ctime>
 #include <cstdlib>
+#include <cmath>
 #include "Localtime.hh"
 
 #ifdef LOG4CPP_HAVE_INT64_T