summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/fft-test.c2
-rw-r--r--libavcodec/motion_test.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index e108a6f7ba..d2497383d5 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -28,6 +28,8 @@
#include <unistd.h>
#include <sys/time.h>
+#undef exit
+
int mm_flags;
/* reference fft */
diff --git a/libavcodec/motion_test.c b/libavcodec/motion_test.c
index 8540b74834..ecdb62a4e1 100644
--- a/libavcodec/motion_test.c
+++ b/libavcodec/motion_test.c
@@ -33,6 +33,7 @@
#include "i386/mmx.h"
+#undef exit
#undef printf
int pix_abs16x16_mmx(uint8_t *blk1, uint8_t *blk2, int lx);