Browse Source

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>
tags/n1.1
Mans Rullgard 13 years ago
parent
commit
3f65eff408
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      avconv.c
  2. +1
    -0
      cmdutils.c

+ 1
- 0
avconv.c View File

@@ -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


+ 1
- 0
cmdutils.c View File

@@ -49,6 +49,7 @@
#include "libavformat/network.h"
#endif
#if HAVE_SYS_RESOURCE_H
#include <sys/time.h>
#include <sys/resource.h>
#endif



Loading…
Cancel
Save