From aa3bcaa3635569a85b5237af9130f0f6be5f9309 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/237b53724e89382a5081a27662912e02d0e4a01c Author: Stefan Seyfried Date: 2010-11-28 (Sun, 28 Nov 2010) ------------------ This commit was generated by Migit --- 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