about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T22·58+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T22·58+0000
commit0d40f6d7bb226e69f65f8ca8e6d0597baf3eec9a (patch)
tree6e4a2a3e45813daa4e0b19bce55c15238ef98cfa /src
parent7751160e9f560e7063d3e6e6e0e57b1432037b4c (diff)
* Not every OS knows about SIGPOLL.
Diffstat (limited to 'src')
-rw-r--r--src/nix-worker/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix-worker/main.cc b/src/nix-worker/main.cc
index acb4be135aea..c8abe14299cd 100644
--- a/src/nix-worker/main.cc
+++ b/src/nix-worker/main.cc
@@ -18,6 +18,11 @@
 using namespace nix;
 
 
+#ifndef SIGPOLL
+#define SIGPOLL SIGIO
+#endif
+
+
 static Path readStorePath(Source & from)
 {
     Path path = readString(from);