Browse Source

cpu-test: Add unistd.h #include for getopt()

tags/n2.4
Diego Biurrun 10 years ago
parent
commit
353240541d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavutil/cpu.c

+ 4
- 0
libavutil/cpu.c View File

@@ -180,6 +180,10 @@ int av_cpu_count(void)
#ifdef TEST

#include <stdio.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif

#include "avstring.h"

#if !HAVE_GETOPT


Loading…
Cancel
Save