summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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