Gitweb links:
...log
http://git.netsurf-browser.org/libnsfb.git/shortlog/a7fd674ed8be30f50795f3feeace3e1626b67c56
...commit
http://git.netsurf-browser.org/libnsfb.git/commit/a7fd674ed8be30f50795f3feeace3e1626b67c56
...tree
http://git.netsurf-browser.org/libnsfb.git/tree/a7fd674ed8be30f50795f3feeace3e1626b67c56
The branch, master has been updated
via a7fd674ed8be30f50795f3feeace3e1626b67c56 (commit)
from 7bb4955f3fc64627c4c3f93b28173e7fc853e775 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libnsfb.git/commit/?id=a7fd674ed8be30f50795f3feeace3e1626b67c56
commit a7fd674ed8be30f50795f3feeace3e1626b67c56
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
deal with feature macro oddity for mkostemp
diff --git a/src/surface/wld.c b/src/surface/wld.c
index cc543da..01bea75 100644
--- a/src/surface/wld.c
+++ b/src/surface/wld.c
@@ -9,7 +9,16 @@
#define _XOPEN_SOURCE 500
#include <stdbool.h>
+
+/* deal with using -std=c99 and glibc changed to no have mkostemp with it set
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#include <stdlib.h>
+#undef _GNU_SOURCE
+#else
#include <stdlib.h>
+#endif
+
#include <stdio.h>
#include <string.h>
-----------------------------------------------------------------------
Summary of changes:
src/surface/wld.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/surface/wld.c b/src/surface/wld.c
index cc543da..01bea75 100644
--- a/src/surface/wld.c
+++ b/src/surface/wld.c
@@ -9,7 +9,16 @@
#define _XOPEN_SOURCE 500
#include <stdbool.h>
+
+/* deal with using -std=c99 and glibc changed to no have mkostemp with it set
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#include <stdlib.h>
+#undef _GNU_SOURCE
+#else
#include <stdlib.h>
+#endif
+
#include <stdio.h>
#include <string.h>
--
NetSurf Framebuffer library
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org