# HG changeset patch # User KUDr # Date 2006-05-27 18:52:28 # Node ID 2d1f8ae172a9ba51e012034c73b6d352f3bbcbe2 # Parent e536fca203a3c13649d15cac0d6da132cb7a3d4d (svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS diff --git a/yapf/binaryheap.hpp b/yapf/binaryheap.hpp --- a/yapf/binaryheap.hpp +++ b/yapf/binaryheap.hpp @@ -3,8 +3,6 @@ #ifndef BINARYHEAP_HPP #define BINARYHEAP_HPP -#include - //void* operator new (size_t size, void* p) {return p;} #if defined(_MSC_VER) && (_MSC_VER >= 1400) //void operator delete (void* p, void* p2) {} diff --git a/yapf/yapf.hpp b/yapf/yapf.hpp --- a/yapf/yapf.hpp +++ b/yapf/yapf.hpp @@ -29,6 +29,7 @@ EXTERN_C_BEGIN EXTERN_C_END #include +#include #if defined(_WIN32) || defined(_WIN64) # include