blob: a5ba7f065d26919bd0911310c3cac4852be19123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
diff -Naur fam-2.7.0-old/include/BTree.h fam-2.7.0/include/BTree.h
--- fam-2.7.0-old/include/BTree.h 2003-01-20 14:22:30.000000000 +1000
+++ fam-2.7.0/include/BTree.h 2008-10-18 10:43:11.000000000 +1000
@@ -23,6 +23,8 @@
#ifndef BTree_included
#define BTree_included
+#include <cstdlib>
+
#include "Boolean.h"
// This is an in-core B-Tree implementation.
diff -Naur fam-2.7.0-old/src/DNotify.c++ fam-2.7.0/src/DNotify.c++
--- fam-2.7.0-old/src/DNotify.c++ 2008-10-18 10:33:13.000000000 +1000
+++ fam-2.7.0/src/DNotify.c++ 2008-10-18 10:41:22.000000000 +1000
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <libgen.h>
+#include <cstdlib>
#include "DNotify.h"
diff -Naur fam-2.7.0-old/src/IMon.c++ fam-2.7.0/src/IMon.c++
--- fam-2.7.0-old/src/IMon.c++ 2003-01-19 00:18:12.000000000 +1000
+++ fam-2.7.0/src/IMon.c++ 2008-10-18 10:40:21.000000000 +1000
@@ -40,7 +40,7 @@
#include "Interest.h"
#include "Log.h"
#include "Scheduler.h"
-#include "alloc.h"
+#include <memory>
int IMon::imonfd = -2;
IMon::EventHandler IMon::ehandler = NULL;
diff -Naur fam-2.7.0-old/src/Interest.h fam-2.7.0/src/Interest.h
--- fam-2.7.0-old/src/Interest.h 2008-10-18 10:33:13.000000000 +1000
+++ fam-2.7.0/src/Interest.h 2008-10-18 10:40:44.000000000 +1000
@@ -23,6 +23,7 @@
#ifndef Interest_included
#define Interest_included
+#include <cstdlib>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
|