do not include bswap.h in common.h for external programs, since the former
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 21 Jul 2006 19:36:59 +0000 (19:36 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 21 Jul 2006 19:36:59 +0000 (19:36 +0000)
is not installed currently.

Originally committed as revision 5809 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h
libavutil/internal.h

index 4a92cd3..b0f0acf 100644 (file)
@@ -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"
index 3b31cdb..a130615 100644 (file)
@@ -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))