[babl] extensions: #define _POSIX_C_SOURCE for lrint
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] extensions: #define _POSIX_C_SOURCE for lrint
- Date: Tue, 31 Jul 2012 18:53:12 +0000 (UTC)
commit 0fea633861eabcfd0ab51567892c936c6aa6f6a5
Author: Ãyvind KolÃs <pippin gimp org>
Date: Tue Jul 31 20:53:01 2012 +0200
extensions: #define _POSIX_C_SOURCE for lrint
extensions/gggl-lies.c | 2 ++
extensions/gggl.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/extensions/gggl-lies.c b/extensions/gggl-lies.c
index 40e3fe0..c6e9d86 100644
--- a/extensions/gggl-lies.c
+++ b/extensions/gggl-lies.c
@@ -23,6 +23,8 @@
* Copyright 2003, 2004, 2005 Ãyvind KolÃs <pippin gimp org>
*/
+#define _POSIX_C_SOURCE 200112L
+
#include "config.h"
#include <math.h>
#include <string.h>
diff --git a/extensions/gggl.c b/extensions/gggl.c
index 458de8d..ca455b3 100644
--- a/extensions/gggl.c
+++ b/extensions/gggl.c
@@ -21,6 +21,8 @@
* Copyright 2003, 2004, 2005 Ãyvind KolÃs <pippin gimp org>
*/
+#define _POSIX_C_SOURCE 200112L
+
#include "config.h"
#include <math.h>
#include <string.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]