diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-10-15 21:46:33 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-10-15 21:58:02 +0200 |
commit | 22c5cc239c253a5940346915dc9aebf171b4ac48 (patch) | |
tree | 6739afb5a74fc323b314ce30f81faac7b518cf67 /tools/ffeval.c | |
parent | a726ac9a11b44782bddba23e179984b738fcc6b7 (diff) | |
download | ffmpeg-22c5cc239c253a5940346915dc9aebf171b4ac48.tar.gz |
tools/ffeval: include compat/getopt.c in case of missing system getopt()
Diffstat (limited to 'tools/ffeval.c')
-rw-r--r-- | tools/ffeval.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ffeval.c b/tools/ffeval.c index d7b736a0cf..d1d40c55d3 100644 --- a/tools/ffeval.c +++ b/tools/ffeval.c @@ -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 |