Check for sys/resource.h and include it conditionally.
[ffmpeg.git] / configure
index 7faf28134dc7021cf2008ca7d18e95a1c31c2695..f76f03cdd4e52cc07be0519c8835fdd74f3faea5 100755 (executable)
--- a/configure
+++ b/configure
@@ -758,6 +758,7 @@ HAVE_LIST="
     soundcard_h
     poll_h
     sys_mman_h
+    sys_resource_h
     sys_select_h
     sys_soundcard_h
     termios_h
@@ -1577,6 +1578,7 @@ check_header conio.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