summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-07-21 19:36:59 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-07-21 19:36:59 +0000
commitaab771591091fb3de912ccca9ed98d0a443293ab (patch)
tree18feec0453185fedba3462e9626c80cc82333efe
parent27ed1a0dee0f49beb202e104b47d521a700827c1 (diff)
do not include bswap.h in common.h for external programs, since the former
is not installed currently. Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/common.h2
-rw-r--r--libavutil/internal.h2
2 files changed, 2 insertions, 2 deletions
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 <stddef.h>
#ifndef offsetof
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))