summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jabber_whiteboard/pedrodom.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jabber_whiteboard/pedrodom.cpp b/src/jabber_whiteboard/pedrodom.cpp
index 5ac4a61d0..903c159ec 100644
--- a/src/jabber_whiteboard/pedrodom.cpp
+++ b/src/jabber_whiteboard/pedrodom.cpp
@@ -22,11 +22,13 @@
*/
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
-#include <malloc.h>
#include <sys/types.h>
#include <sys/stat.h>