summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/hotpixels/hotpixelfixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageplugins/hotpixels/hotpixelfixer.cpp')
-rw-r--r--src/imageplugins/hotpixels/hotpixelfixer.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/imageplugins/hotpixels/hotpixelfixer.cpp b/src/imageplugins/hotpixels/hotpixelfixer.cpp
index d29b8525..07ba002f 100644
--- a/src/imageplugins/hotpixels/hotpixelfixer.cpp
+++ b/src/imageplugins/hotpixels/hotpixelfixer.cpp
@@ -24,6 +24,7 @@
// C++ includes.
+#include <cfloat>
#include <cmath>
#include <cstdlib>
@@ -39,12 +40,6 @@
#include "ddebug.h"
#include "hotpixelfixer.h"
-#ifdef HAVE_FLOAT_H
-#if HAVE_FLOAT_H
-# include <float.h>
-#endif
-#endif
-
#ifndef DBL_MIN
# define DBL_MIN 1e-37
#endif