[FFmpeg-devel] sys/resource.h needs sys/types.h on OS/2

Dave Yeo daveryeo
Sat May 10 19:54:46 CEST 2008

Hi, Ramiro's patch sys_resource_h.diff broke compile on OS/2.
In file included from ffmpeg.c:40:
i:/usr/include/sys/resource.h:166: error: parse error before "id_t"
i:/usr/include/sys/resource.h:169: error: parse error before "id_t"

The simple fix is to include sys/types.h before sys/resource.h as in 
attached patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resource_h.diff
Type: text/x-patch
Size: 341 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080510/b728c846/attachment.bin>

More information about the ffmpeg-devel mailing list