summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-06-10 23:58:39 +0400
committerkonstantin@mysql.com <>2004-06-10 23:58:39 +0400
commitf08bbd1f1260becb5e537932527eef52b1584776 (patch)
treebc9b38762d9fffec51179a6188934e2411fd8067 /include
parent3d33dc7c770ba6198a900abd3b26d4e68ca04217 (diff)
downloadmariadb-git-f08bbd1f1260becb5e537932527eef52b1584776.tar.gz
assert.h needed for my_dbug.h now is included in my_dbug.h, where it for
some reason wasn't included before. A lot of files cleaned up from #include <assert.h>
Diffstat (limited to 'include')
-rw-r--r--include/m_string.h1
-rw-r--r--include/my_dbug.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 7fc35dc2e48..0709dbaffb4 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -123,7 +123,6 @@ extern void bmove_align(gptr dst,const gptr src,uint len);
#endif
#ifdef HAVE_purify
-#include <assert.h>
#define memcpy_overlap(A,B,C) \
DBUG_ASSERT((A) <= (B) || ((B)+(C)) <= (A)); \
bmove((byte*) (A),(byte*) (B),(size_t) (C));
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 5c88e2e42db..d02ea5bf050 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -16,6 +16,7 @@
#ifndef _dbug_h
#define _dbug_h
+#include <assert.h>
#ifdef __cplusplus
extern "C" {
#endif