summaryrefslogtreecommitdiff
path: root/lib/memory.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-06-30 16:49:02 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-06-30 16:49:02 +0000
commit74176d220ba6fb019a18ebea3e3245a46f33dce1 (patch)
tree3cd34e04c9574900973006eaac13994e3d76386a /lib/memory.c
parent7694787c190e3737d6fc3e15b7e098ce76ed61a2 (diff)
[lib] Fix typo in cpp conditional for malloc.h include
2006-06-28 Paul Jakma <paul.jakma@sun.com> * memory.c: Fix typo in cpp conditional around malloc.h, from comment in bug #269.
Diffstat (limited to 'lib/memory.c')
-rw-r--r--lib/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memory.c b/lib/memory.c
index 1141e405..eb670722 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -22,7 +22,7 @@
#include <zebra.h>
/* malloc.h is generally obsolete, however GNU Libc mallinfo wants it. */
-#if defined(HAVE_STDLIB_H) || (defined(GNU_LINUX) && defined(HAVE_MALLINFO))
+#if !defined(HAVE_STDLIB_H) || (defined(GNU_LINUX) && defined(HAVE_MALLINFO))
#include <malloc.h>
#endif /* !HAVE_STDLIB_H || HAVE_MALLINFO */