diff options
Diffstat (limited to 'utils/List.h')
-rw-r--r-- | utils/List.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/List.h b/utils/List.h index cd042f9..de0e1d5 100644 --- a/utils/List.h +++ b/utils/List.h @@ -3,7 +3,7 @@ * * by Stephane Chatty * - * Copyright 1992-1993 + * Copyright 1992-1995 * Centre d'Etudes de la Navigation Aerienne (CENA) * * plain and generic lists (original ideas by Yves Berteaud) @@ -20,6 +20,7 @@ #endif #include "cplus_bugs.h" +#include <sys/types.h> class CcuAllocator; @@ -40,7 +41,7 @@ friend class CcuListIter; CcuListLink* Next; inline CcuListLink (CcuListItem* e, CcuListLink* n = 0) { Entry = e; Next = n ? n : this; } CcuListLink* Previous (); - void* operator new (unsigned long); + void* operator new (size_t); void operator delete (void*); }; #endif |