Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2013-05-30 12:59:05 +0400
committerZoltan Varga <vargaz@gmail.com>2013-05-30 12:59:05 +0400
commitcff0ecb816fdd10419550b549137f48b5a14ff88 (patch)
tree51a6ea47f993d68648a1683c73734764866f3a7a /support
parentff166ea8ddc7a66781a700a8b9dc3fc681abae5f (diff)
Pass more defines in config.h instead of on the command line. Pass libgc defines to libgc only.
Diffstat (limited to 'support')
-rw-r--r--support/sys-mman.c2
-rw-r--r--support/unistd.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/support/sys-mman.c b/support/sys-mman.c
index f885d11b821..ce804ef6fb5 100644
--- a/support/sys-mman.c
+++ b/support/sys-mman.c
@@ -7,6 +7,8 @@
* Copyright (C) 2004-2006 Jonathan Pryor
*/
+#include <config.h>
+
#define _XOPEN_SOURCE 600
#ifdef PLATFORM_MACOSX
diff --git a/support/unistd.c b/support/unistd.c
index da2750abe8a..7fe7dac8363 100644
--- a/support/unistd.c
+++ b/support/unistd.c
@@ -7,6 +7,8 @@
* Copyright (C) 2004-2006 Jonathan Pryor
*/
+#include <config.h>
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif /* ndef _GNU_SOURCE */