--- lftp-4.7.7.orig/src/FileCopy.cc	2017-03-07 08:35:47.000000000 +0100
+++ lftp-4.7.7/src/FileCopy.cc	2017-06-05 21:33:11.719033961 +0200
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <math.h>
+#include <cmath>
 #include <stddef.h>
 #include "FileCopy.h"
 #include "url.h"
