From 825e6420ad9d14c1127e384798de981e69fc8bb9 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 2 May 2005 14:02:04 +0000 Subject: [PATCH] Moved declaration of double. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1393 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm.h | 7 +++++++ src/zm_image.h | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/zm.h b/src/zm.h index 02ce6523b..78f7bca82 100644 --- a/src/zm.h +++ b/src/zm.h @@ -27,6 +27,13 @@ extern "C" #include "zm_config.h" +extern "C" +{ +#if !HAVE_DECL_ROUND +double round(double); +#endif +} + // Structure used for storing the results of the subtraction // of one struct timeval from another diff --git a/src/zm_image.h b/src/zm_image.h index 901584453..bc1d23549 100644 --- a/src/zm_image.h +++ b/src/zm_image.h @@ -30,10 +30,6 @@ extern "C" { -#if !HAVE_DECL_ROUND -double round(double); -#endif - #include "zm_jpeg.h" }