diff options
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r-- | libavcodec/fft-test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index 75941a1071..1e4675019c 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -34,7 +34,9 @@ #include "rdft.h" #endif #include <math.h> +#if HAVE_UNISTD_H #include <unistd.h> +#endif #include <stdlib.h> #include <string.h> @@ -229,6 +231,10 @@ enum tf_transform { TRANSFORM_DCT, }; +#if !HAVE_GETOPT +#include "compat/getopt.c" +#endif + int main(int argc, char **argv) { FFTComplex *tab, *tab1, *tab_ref; |