diff --git a/avconv.c b/avconv.c index 759e1c0ce8baa47643da2ad82a491d102a6281b5..6f6771186a944e147364eda36cc9033571a23054 100644 --- a/avconv.c +++ b/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 diff --git a/cmdutils.c b/cmdutils.c index 34c52ca1368811a473578fc92fd25c92aafef440..657096852606b2b35084741c9f619b3698d40a9b 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -49,6 +49,7 @@ #include "libavformat/network.h" #endif #if HAVE_SYS_RESOURCE_H +#include <sys/time.h> #include <sys/resource.h> #endif