summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-05-21 11:17:31 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-05-21 11:17:31 +0000
commitbd955e15e1aac8a1490a680b9f5cfcce29f2331a (patch)
treef56e21d3608bb14ae3ca89e2ddc6c7c887bfbd85 /src/libexpr
parent9819bb20da130509ab62f303267331c2403b043c (diff)
downloadguix-bd955e15e1aac8a1490a680b9f5cfcce29f2331a.tar.gz
* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and
  Armijn Hemel.

Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/expr-to-xml.cc2
-rw-r--r--src/libexpr/nixexpr.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/libexpr/expr-to-xml.cc b/src/libexpr/expr-to-xml.cc
index 6d27bcffb6..947e62879f 100644
--- a/src/libexpr/expr-to-xml.cc
+++ b/src/libexpr/expr-to-xml.cc
@@ -4,6 +4,8 @@
 #include "aterm.hh"
 #include "util.hh"
 
+#include <cstdlib>
+
 
 namespace nix {
 
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index 1eeec2cf19..0f5ec03065 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -6,6 +6,8 @@
 #include "nixexpr-ast.hh"
 #include "nixexpr-ast.cc"
 
+#include <cstdlib>
+
 
 namespace nix {