summaryrefslogtreecommitdiff
path: root/utils/DList.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/DList.h')
-rw-r--r--utils/DList.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/DList.h b/utils/DList.h
index 3c84753..cba72f1 100644
--- a/utils/DList.h
+++ b/utils/DList.h
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1992
+ * Copyright 1992-1995
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
* plain and generic double-linked lists (original ideas by Yves Berteaud)
@@ -16,6 +16,7 @@
#define DList_H_
#include "cplus_bugs.h"
+#include <sys/types.h>
class CcuAllocator;
@@ -37,7 +38,7 @@ friend class CcuDListIter;
CcuDListLink* Next;
inline CcuDListLink (CcuDListItem* e, CcuDListLink* p) : Entry (e), Previous (p), Next (p->Next) { Previous->Next = Next->Previous = this; }
inline CcuDListLink (CcuDListItem* e) : Entry (e), Previous (this), Next (this) {}
- void* operator new (unsigned long);
+ void* operator new (size_t);
void operator delete (void*);
};
#endif