summary refs log tree commit diff
path: root/src/libstore/pathlocks.cc
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/libstore/pathlocks.cc
parent9819bb20da130509ab62f303267331c2403b043c (diff)
downloadguix-bd955e15e1aac8a1490a680b9f5cfcce29f2331a.tar.gz
* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and
  Armijn Hemel.

Diffstat (limited to 'src/libstore/pathlocks.cc')
-rw-r--r--src/libstore/pathlocks.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc
index 9d582206db..df1f0b1e38 100644
--- a/src/libstore/pathlocks.cc
+++ b/src/libstore/pathlocks.cc
@@ -2,6 +2,7 @@
 #include "util.hh"
 
 #include <cerrno>
+#include <cstdlib>
 
 #include <sys/types.h>
 #include <sys/stat.h>