aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. David Anglin <dave@hiauly1.hia.nrc.ca>2000-05-18 22:48:34 +0000
committerJeff Law <law@gcc.gnu.org>2000-05-18 16:48:34 -0600
commit650f30687e05ee0e8d44521b58cdb4ec10801af3 (patch)
treeadd8d27cb42e6d0a5e5ee8e44c77c105b5eb60dc
parent716081958c4cc83f16a9baab9ae1af5bae9da47b (diff)
downloadgcc-650f30687e05ee0e8d44521b58cdb4ec10801af3.zip
gcc-650f30687e05ee0e8d44521b58cdb4ec10801af3.tar.gz
gcc-650f30687e05ee0e8d44521b58cdb4ec10801af3.tar.bz2
* xmalloc.c: Include config.h for HAVE_SBRK definition.
From-SVN: r34003
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/xmalloc.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 6d11a07..c1d0598 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * xmalloc.c: Include config.h for HAVE_SBRK definition.
+
2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
* hashtab.c (hash_pointer): Delete low-order bits which are
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c
index 621c6d2..08c23f8 100644
--- a/libiberty/xmalloc.c
+++ b/libiberty/xmalloc.c
@@ -17,6 +17,9 @@ License along with libiberty; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "ansidecl.h"
#include "libiberty.h"