mirror of https://git.ffmpeg.org/ffmpeg.git
tools/ffeval: include compat/getopt.c in case of missing system getopt()
This commit is contained in:
parent
a726ac9a11
commit
22c5cc239c
|
@ -18,9 +18,17 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#if HAVE_UNISTD_H
|
||||||
#include <unistd.h> /* getopt */
|
#include <unistd.h> /* getopt */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "libavutil/eval.h"
|
#include "libavutil/eval.h"
|
||||||
|
|
||||||
|
#if !HAVE_GETOPT
|
||||||
|
#include "compat/getopt.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* simple arithmetic expression evaluator
|
* simple arithmetic expression evaluator
|
||||||
|
|
Loading…
Reference in New Issue