about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2015-05-13T07·37+0200
committerRok Garbas <rok@garbas.si>2015-05-13T07·37+0200
commit000de699e9fd2a64ab748fc9a5103e9ecfcea4a5 (patch)
tree2da5fbe0a71e6d9e23af3d7b3e5999621de77e7a /src
parent71083f9e5ecfb94d110664499d87cea3e6c61b2e (diff)
cygwin: explicitly include required c headers
Diffstat (limited to 'src')
-rw-r--r--src/libstore/build.cc1
-rw-r--r--src/libstore/local-store.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 2d81f72c12ab..50c59c1314d9 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -20,6 +20,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/utsname.h>
+#include <sys/select.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 91149b30f742..1dcd7228f347 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -13,6 +13,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/select.h>
 #include <sys/time.h>
 #include <unistd.h>
 #include <utime.h>