about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-05-26T15·09+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-05-26T15·09+0000
commit9efad7659568ad2eeee5e2cf9cf1df9322d9eb33 (patch)
tree9b42fdff6392754ab32c09bae05a609dd97359b0
parentd8bdf5b06e50ea4a618f2b69c4839f92086ebb29 (diff)
* FreeBSD / ISO C++ compatibility fixes.
-rw-r--r--src/db.cc2
-rw-r--r--src/nix.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/db.cc b/src/db.cc
index e9f3a0f9e34b..4178f6ebe29f 100644
--- a/src/db.cc
+++ b/src/db.cc
@@ -1,6 +1,8 @@
 #include "db.hh"
 #include "util.hh"
 
+#include <memory>
+
 #include <db_cxx.h>
 
 
diff --git a/src/nix.cc b/src/nix.cc
index d068e9616f94..667f452aa16a 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -1,9 +1,9 @@
 #include <iostream>
-#include <memory>
 #include <list>
 #include <vector>
 #include <set>
 #include <map>
+#include <algorithm>
 #include <cstdio>
 
 #include <errno.h>