[gnome-photos/sam/tracker3: 11/27] 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: 11/27] Fix build failure due to undefined M_PI constant
- Date: Thu, 13 Aug 2020 00:11:03 +0000 (UTC)
commit 6c18c39f191951b81199c4b733f291c96b6c153e
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]