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

This commit is contained in:
Stefano Sabatini 2012-10-15 21:46:33 +02:00
parent a726ac9a11
commit 22c5cc239c
1 changed files with 8 additions and 0 deletions

View File

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