Commit 22c5cc23 authored by Stefano Sabatini's avatar Stefano Sabatini

tools/ffeval: include compat/getopt.c in case of missing system getopt()

parent a726ac9a
......@@ -18,9 +18,17 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "config.h"
#if HAVE_UNISTD_H
#include <unistd.h> /* getopt */
#endif
#include "libavutil/eval.h"
#if !HAVE_GETOPT
#include "compat/getopt.c"
#endif
/**
* @file
* simple arithmetic expression evaluator
......
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