summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/popt/popt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/popt/popt.c b/source4/lib/popt/popt.c
index 253fe9c424..f25b9279a4 100644
--- a/source4/lib/popt/popt.c
+++ b/source4/lib/popt/popt.c
@@ -12,7 +12,8 @@
#if HAVE_MATH_H
#include <math.h>
-#elif HAVE_FLOAT_H
+#endif
+#if HAVE_FLOAT_H
#include <float.h>
#endif