Originally committed as revision 13075 to svn://svn.ffmpeg.org/ffmpeg/trunk
soundcard_h
poll_h
sys_mman_h
+ sys_resource_h
sys_select_h
sys_soundcard_h
termios_h
check_header dlfcn.h
check_header malloc.h
check_header sys/mman.h
+check_header sys/resource.h
check_header termios.h
if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
#include "avstring.h"
#include "os_support.h"
-#if !defined(HAVE_GETRUSAGE) && defined(HAVE_GETPROCESSTIMES)
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#elif defined(HAVE_GETPROCESSTIMES)
#include <windows.h>
#endif
#include <sys/ioctl.h>
#include <sys/time.h>
#include <termios.h>
-#include <sys/resource.h>
#elif defined(HAVE_CONIO_H)
#include <conio.h>
#endif