about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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);