Commit 3f65eff4 authored by Mans Rullgard's avatar Mans Rullgard

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: 's avatarMans Rullgard <mans@mansr.com>
parent a1f6ad69
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment