From 0d40f6d7bb226e69f65f8ca8e6d0597baf3eec9a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Dec 2006 22:58:44 +0000 Subject: * Not every OS knows about SIGPOLL. --- src/nix-worker/main.cc | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.3