summaryrefslogtreecommitdiff
path: root/utils/SmartPointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/SmartPointer.h')
-rw-r--r--utils/SmartPointer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/SmartPointer.h b/utils/SmartPointer.h
index 37c78ee..1939327 100644
--- a/utils/SmartPointer.h
+++ b/utils/SmartPointer.h
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1990, 1991, 1992
+ * Copyright 1990-1995
* Laboratoire de Recherche en Informatique (LRI)
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
@@ -21,6 +21,8 @@
#endif
#include "cplus_bugs.h"
+#include <sys/types.h>
+
class CcuList;
class CcuSmartData {
@@ -40,7 +42,7 @@ static CcuList* LastDynamics;
#endif
public:
- void* operator new (unsigned long);
+ void* operator new (size_t);
inline void operator delete (void* that) { ::delete (that); }
CcuSmartData ();