diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 4b53e9d7d..b7d3dbfc0 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -13,6 +13,11 @@ #include #include +/* work around for building with old kernel headers */ +#ifndef POLLRDHUP +#define POLLRDHUP 0 +#endif + #ifdef HAVE_CONFIG_H #include #endif