]> granicus.if.org Git - php/commitdiff
- fix warning and fix buggy behavior of timelib_diff due to bad assumption of floor...
authorPierre Joye <pajoye@php.net>
Wed, 7 Dec 2011 08:39:43 +0000 (08:39 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 7 Dec 2011 08:39:43 +0000 (08:39 +0000)
ext/date/lib/interval.c

index c8200a48c349ff07524966430f342305f0c61973..af150fc8023287820f5d323f0fa0a5d5f593890a 100644 (file)
@@ -19,6 +19,7 @@
 /* $Id$ */
 
 #include "timelib.h"
+#include <math.h>
 
 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two)
 {