git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61b16ca
)
r8467: using both math.h and float.h breaks popt on freebsd 5.4
author
Andrew Tridgell
<tridge@samba.org>
Thu, 14 Jul 2005 13:21:27 +0000
(13:21 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:23:06 +0000
(13:23 -0500)
(This used to be commit
a1acb3300eec7717df24ecdf7205fb4e395d8c16
)
source4/lib/popt/popt.c
patch
|
blob
|
history
diff --git
a/source4/lib/popt/popt.c
b/source4/lib/popt/popt.c
index eb81c720f5a33b93de7bf612a5fadb46d4c19444..253fe9c424e7c0e4deed998d1afcf67ee9673997 100644
(file)
--- a/
source4/lib/popt/popt.c
+++ b/
source4/lib/popt/popt.c
@@
-10,10
+10,11
@@
#include "system.h"
#include "system.h"
-#if HAVE_FLOAT_H
+#if HAVE_MATH_H
+#include <math.h>
+#elif HAVE_FLOAT_H
#include <float.h>
#endif
#include <float.h>
#endif
-#include <math.h>
#include "findme.h"
#include "poptint.h"
#include "findme.h"
#include "poptint.h"