diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-09-21 18:03:57 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-21 18:03:57 +0000 |
commit | 6f08d4cf61aba2729dd719531db9d2b21327dd06 (patch) | |
tree | f7f4fa1286d5130781b4599ea156ec7057734209 /tests/testtreemodel.c | |
parent | ea9d3fa5feb3f72e3e28058b3f33085058cdb254 (diff) | |
download | gtk+-6f08d4cf61aba2729dd719531db9d2b21327dd06.tar.gz |
Check for mallinfo.
2004-09-21 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for mallinfo.
* tests/testtreemodel.c: Only include malloc.h if HAVE_MALLINFO
is defined. (#153168, Darren Creutz)
Diffstat (limited to 'tests/testtreemodel.c')
-rw-r--r-- | tests/testtreemodel.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/testtreemodel.c b/tests/testtreemodel.c index fd01d70987..56b986b3f9 100644 --- a/tests/testtreemodel.c +++ b/tests/testtreemodel.c @@ -1,4 +1,25 @@ +/* testtreemodel.c + * Copyright (C) 2004 Red Hat, Inc., Matthias Clasen <mclasen@redhat.com> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifdef HAVE_MALLINFO #include <malloc.h> +#endif #include <gtk/gtk.h> static gint repeats = 2; |