summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-02-13 12:51:14 +0000
committerLuca Abeni <lucabe72@email.it>2008-02-13 12:51:14 +0000
commitf8cda19ee6285cc83471f87357a1c6f6076706ef (patch)
treeb5795202deeaa819074e9b0b3f51b95ebef16b0c /libavformat/os_support.h
parentd435e520d813c5f3e0c06359e145432a3325d880 (diff)
Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 1c57895ab6..67d586ab65 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -62,7 +62,7 @@ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
#endif
#ifdef CONFIG_FFSERVER
-#ifndef HAVE_SYS_POLL_H
+#ifndef HAVE_POLL_H
typedef unsigned long nfds_t;
struct pollfd {
@@ -87,7 +87,7 @@ struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
-#endif /* HAVE_SYS_POLL_H */
+#endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */
#endif /* FFMPEG_OS_SUPPORT_H */