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
This commit is contained in:
seife
2010-11-28 21:52:46 +00:00
parent 1889f36aa0
commit 237b53724e

View File

@@ -13,6 +13,11 @@
#include <poll.h> #include <poll.h>
#include <syscall.h> #include <syscall.h>
/* work around for building with old kernel headers */
#ifndef POLLRDHUP
#define POLLRDHUP 0
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif