summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox/PDa/src/m_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_memory.c')
-rw-r--r--apps/plugins/pdbox/PDa/src/m_memory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_memory.c b/apps/plugins/pdbox/PDa/src/m_memory.c
index ef33d3c1d3..f9ee378f87 100644
--- a/apps/plugins/pdbox/PDa/src/m_memory.c
+++ b/apps/plugins/pdbox/PDa/src/m_memory.c
@@ -2,8 +2,13 @@
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
+#ifdef ROCKBOX
+#include "plugin.h"
+#define memset rb->memset
+#else /* ROCKBOX */
#include <stdlib.h>
#include <string.h>
+#endif /* ROCKBOX */
#include "m_pd.h"
#include "m_imp.h"