]> git.saurik.com Git - wxWidgets.git/commitdiff
include stdlib.h to get malloc/free decl
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Feb 2004 02:57:43 +0000 (02:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Feb 2004 02:57:43 +0000 (02:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/buffer.h

index db3749c7c0253b13f3e0a51bb84848a8d61598e9..85c986a3e90e21527deca61ecb3ee15ab4990b3c 100644 (file)
@@ -16,6 +16,8 @@
 
 #include "wx/wxchar.h"
 
+#include <stdlib.h>             // malloc() and free()
+
 // ----------------------------------------------------------------------------
 // Special classes for (wide) character strings: they use malloc/free instead
 // of new/delete