diff options
-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 |