summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivmai <ivmai>2009-09-27 16:53:42 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:48 +0400
commit3f1427b7f143de4d5373ba51de1c6564d85087e1 (patch)
tree6d7720fb3d4d035be0d6d50e728137072c71afd7
parent91d5df5ba60368c9a5371f73539dc8189d265668 (diff)
downloadbdwgc-3f1427b7f143de4d5373ba51de1c6564d85087e1.tar.gz
2009-09-27 Ivan Maidanski <ivmai@mail.ru>
* real_malloc.c: Include private/config.h if HAVE_CONFIG_H.
-rw-r--r--ChangeLog4
-rw-r--r--real_malloc.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd5d5018..3f677e73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-09-27 Ivan Maidanski <ivmai@mail.ru>
+ * real_malloc.c: Include private/config.h if HAVE_CONFIG_H.
+
+2009-09-27 Ivan Maidanski <ivmai@mail.ru>
+
* allchblk.c (GC_hblkfreelist): Define as STATIC.
* blacklst.c (GC_total_stack_black_listed): Ditto.
* include/private/gc_priv.h (GC_hblkfreelist, GC_stopped_mark,
diff --git a/real_malloc.c b/real_malloc.c
index cb14edcc..da11f342 100644
--- a/real_malloc.c
+++ b/real_malloc.c
@@ -11,8 +11,10 @@
* provided the above notices are retained, and a notice that the code was
* modified is included with the above copyright notice.
*/
-/* Boehm, May 19, 1994 2:04 pm PDT */
+# ifdef HAVE_CONFIG_H
+# include "private/config.h"
+# endif
# ifdef PCR
/*