[librsvg] Clean up math.h includes
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Clean up math.h includes
- Date: Tue, 8 Jan 2019 15:07:53 +0000 (UTC)
commit 5cabc8ee10ab0f561d4cc634c9391a12511b62fd
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Jan 8 08:50:52 2019 -0600
Clean up math.h includes
librsvg/rsvg-private.h | 9 ---------
rsvg-view.c | 1 +
2 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/librsvg/rsvg-private.h b/librsvg/rsvg-private.h
index 9fcda474..1d689029 100644
--- a/librsvg/rsvg-private.h
+++ b/librsvg/rsvg-private.h
@@ -33,13 +33,6 @@
#include <glib.h>
#include <glib-object.h>
-#include <math.h>
-
-#if defined(HAVE_FLOAT_H)
-# include <float.h>
-#endif
-
-G_BEGIN_DECLS
/* prepare for gettext */
#ifndef _
@@ -50,6 +43,4 @@ G_BEGIN_DECLS
#define N_(X) X
#endif
-G_END_DECLS
-
#endif
diff --git a/rsvg-view.c b/rsvg-view.c
index 05ff324d..3d912456 100644
--- a/rsvg-view.c
+++ b/rsvg-view.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <locale.h>
+#include <math.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]