summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpbswap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpbswap.h b/mpbswap.h
index 27cf7b69d5..4171539cda 100644
--- a/mpbswap.h
+++ b/mpbswap.h
@@ -2,6 +2,8 @@
#define MPBSWAP_H
#include "libavutil/bswap.h"
+#ifndef HAVE_SWAB
void swab(const void *from, void *to, ssize_t n);
+#endif
#endif /* MPBSWAP_H */