aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 acb4be135..c8abe1429 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);