about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·49+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-14T00·49+0100
commit8bdff8c1003501bab0dbc63ed6c391ff2f2da4b5 (patch)
treed36f30676cb75b3146959f06e2565a12bf12633b /src/libstore
parent14955c297de82e964ea5bf44f8aaf543d4cae33a (diff)
parentf665c5d9b368cba0ca153323a805844f179e8bee (diff)
Merge branch 'cygwin-master' of https://github.com/ternaris/nix
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/optimise-store.cc1
-rw-r--r--src/libstore/remote-store.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index dd18d66fa008..fb5607676510 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -4,6 +4,7 @@
 #include "local-store.hh"
 #include "globals.hh"
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index acc895409eba..d08913246321 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -10,6 +10,7 @@
 #include <sys/stat.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <errno.h>
 #include <fcntl.h>
 
 #include <iostream>