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
pull/126/head
Reimar Döffinger 19 years ago
parent 27ed1a0dee
commit aab7715910
  1. 2
      libavutil/common.h
  2. 2
      libavutil/internal.h

@ -155,8 +155,6 @@ typedef uint64_t uint_fast64_t;
#endif #endif
# include "bswap.h"
#ifdef HAVE_AV_CONFIG_H #ifdef HAVE_AV_CONFIG_H
/* only include the following when compiling package */ /* only include the following when compiling package */
# include "internal.h" # include "internal.h"

@ -14,6 +14,8 @@
# define ENODATA 61 # define ENODATA 61
# endif # endif
#include "bswap.h"
#include <stddef.h> #include <stddef.h>
#ifndef offsetof #ifndef offsetof
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))

Loading…
Cancel
Save