From 237b53724e89382a5081a27662912e02d0e4a01c Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 28 Nov 2010 21:52:46 +0000 Subject: [PATCH] fix build against older kernel-headers git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@910 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/streamts.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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