[gnome-photos/sam/tracker3: 13/15] Fix build failure due to undefined M_PI constant
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/sam/tracker3: 13/15] Fix build failure due to undefined M_PI constant
- Date: Mon, 8 Jun 2020 11:14:39 +0000 (UTC)
commit 20b8514166d3532e32e844de5951e915177d70ac
Author: Sam Thursfield <sam afuera me uk>
Date: Wed May 27 13:07:58 2020 +0200
Fix build failure due to undefined M_PI constant
The <math.h> header needs to be included.
Previously I suppose libtracker-sparql.h pulled this in.
src/photos-utils.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/photos-utils.c b/src/photos-utils.c
index 401f52ba..c638297b 100644
--- a/src/photos-utils.c
+++ b/src/photos-utils.c
@@ -30,6 +30,7 @@
#include <glib.h>
#include <tracker-sparql.h>
#include <libgd/gd.h>
+#include <math.h>
#include "photos-application.h"
#include "photos-device-item.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]