blob: 3ffeeca77eb3187bd82cf7bf49fd6ae6fb823cbf (
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
47
48
49
50
51
52
53
54
55
56
57
|
diff -Naur fam-2.7.0-orig/include/BTree.h fam-2.7.0/include/BTree.h
--- fam-2.7.0-orig/include/BTree.h 2003-01-19 22:22:30.000000000 -0600
+++ fam-2.7.0/include/BTree.h 2008-12-04 17:51:22.000000000 -0600
@@ -24,6 +24,7 @@
#define BTree_included
#include "Boolean.h"
+#include <cstdlib>
// This is an in-core B-Tree implementation.
//
diff -Naur fam-2.7.0-orig/lib/Client.c++ fam-2.7.0/lib/Client.c++
--- fam-2.7.0-orig/lib/Client.c++ 2003-01-18 08:18:12.000000000 -0600
+++ fam-2.7.0/lib/Client.c++ 2008-12-04 17:51:19.000000000 -0600
@@ -34,7 +34,7 @@
#include <syslog.h>
#include <errno.h>
-#include <iostream.h>
+#include <iostream>
#include "fam.h"
#include "Client.h"
diff -Naur fam-2.7.0-orig/src/DNotify.c++ fam-2.7.0/src/DNotify.c++
--- fam-2.7.0-orig/src/DNotify.c++ 2008-12-04 17:50:48.000000000 -0600
+++ fam-2.7.0/src/DNotify.c++ 2008-12-04 17:51:19.000000000 -0600
@@ -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-orig/src/IMon.c++ fam-2.7.0/src/IMon.c++
--- fam-2.7.0-orig/src/IMon.c++ 2003-01-18 08:18:12.000000000 -0600
+++ fam-2.7.0/src/IMon.c++ 2008-12-04 17:51:19.000000000 -0600
@@ -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-orig/src/Interest.h fam-2.7.0/src/Interest.h
--- fam-2.7.0-orig/src/Interest.h 2008-12-04 17:50:48.000000000 -0600
+++ fam-2.7.0/src/Interest.h 2008-12-04 17:51:22.000000000 -0600
@@ -29,6 +29,7 @@
#include <netinet/in.h> // for in_addr
#include "Boolean.h"
+#include <cstdlib>
class Event;
class FileSystem;
|