OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a726ac9
)
tools/ffeval: include compat/getopt.c in case of missing system getopt()
author
Stefano Sabatini
<stefasab@gmail.com>
Mon, 15 Oct 2012 19:46:33 +0000
(21:46 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Mon, 15 Oct 2012 19:58:02 +0000
(21:58 +0200)
tools/ffeval.c
patch
|
blob
|
history
diff --git
a/tools/ffeval.c
b/tools/ffeval.c
index
d7b736a
..
d1d40c5
100644
(file)
--- 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