mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Include sys/time.h before sys/resource.h
Some systems require sys/time.h being explicitly included before sys/resource.h. The configure check already does this. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
a1f6ad69c7
commit
3f65eff408
1
avconv.c
1
avconv.c
@ -53,6 +53,7 @@
|
||||
# include "libavfilter/buffersink.h"
|
||||
|
||||
#if HAVE_SYS_RESOURCE_H
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/resource.h>
|
||||
#elif HAVE_GETPROCESSTIMES
|
||||
|
@ -49,6 +49,7 @@
|
||||
#include "libavformat/network.h"
|
||||
#endif
|
||||
#if HAVE_SYS_RESOURCE_H
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user