diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 18:11:02 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-28 18:11:02 +0300 |
commit | 885a763cacf57d12e08659137942fb327c643272 (patch) | |
tree | 50a6c0b1b644ec24aebba663bca3e2f83606be6b /libavcodec/ppc/h264qpel_template.c | |
parent | af8804ac86383160c80671c3dcd511510f639f24 (diff) |
avcodec/ppc/h264qpel_template: protect unistd.h by #if HAVE_UNISTD_H
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc/h264qpel_template.c')
-rw-r--r-- | libavcodec/ppc/h264qpel_template.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ppc/h264qpel_template.c b/libavcodec/ppc/h264qpel_template.c index e3c09ba5c8..9a345485ba 100644 --- a/libavcodec/ppc/h264qpel_template.c +++ b/libavcodec/ppc/h264qpel_template.c @@ -18,7 +18,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" +#if HAVE_UNISTD_H #include <unistd.h> +#endif + #include "libavutil/mem.h" #include "libavutil/ppc/types_altivec.h" #include "libavutil/ppc/util_altivec.h" |