sys/resource.h needs sys/types.h on OS/2, patch by Dave Yeo, daveryeo telus net
authorDave Yeo <daveryeo@telus.net>
Sun, 11 May 2008 11:17:23 +0000 (11:17 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 11 May 2008 11:17:23 +0000 (11:17 +0000)
Originally committed as revision 13116 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 27374a7..4e6714d 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -37,6 +37,7 @@
 #include "libavformat/os_support.h"
 
 #ifdef HAVE_SYS_RESOURCE_H
+#include <sys/types.h>
 #include <sys/resource.h>
 #elif defined(HAVE_GETPROCESSTIMES)
 #include <windows.h>