about summary refs log tree commit diff
path: root/src/nix-worker/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-worker/main.cc')
-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 acb4be135a..c8abe14299 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);