diff --git a/libavutil/common.h b/libavutil/common.h index 4a92cd31cc..b0f0acf3c9 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -155,8 +155,6 @@ typedef uint64_t uint_fast64_t; #endif -# include "bswap.h" - #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "internal.h" diff --git a/libavutil/internal.h b/libavutil/internal.h index 3b31cdb3af..a130615753 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -14,6 +14,8 @@ # define ENODATA 61 # endif +#include "bswap.h" + #include #ifndef offsetof # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))