svn commit: samba r8467 - in branches/SAMBA_4_0/source/lib/popt: .

tridge at samba.org tridge at samba.org
Thu Jul 14 13:21:27 GMT 2005


Author: tridge
Date: 2005-07-14 13:21:27 +0000 (Thu, 14 Jul 2005)
New Revision: 8467

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8467

Log:
using both math.h and float.h breaks popt on freebsd 5.4





Modified:
   branches/SAMBA_4_0/source/lib/popt/popt.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/popt/popt.c
===================================================================
--- branches/SAMBA_4_0/source/lib/popt/popt.c	2005-07-14 13:17:14 UTC (rev 8466)
+++ branches/SAMBA_4_0/source/lib/popt/popt.c	2005-07-14 13:21:27 UTC (rev 8467)
@@ -10,10 +10,11 @@
 
 #include "system.h"
 
-#if HAVE_FLOAT_H
+#if HAVE_MATH_H
+#include <math.h>
+#elif HAVE_FLOAT_H
 #include <float.h>
 #endif
-#include <math.h>
 
 #include "findme.h"
 #include "poptint.h"



More information about the samba-cvs mailing list