From d0e346d544cd3abb0007a68137b31923020f7aeb Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 12:02:15 +0000 Subject: updated .c files to include: #ifdef HAVE_CONFIG_H #include #endif Just need to finish cpp files now :) Kent -- mein@cs.umn.edu --- source/blender/avi/intern/avi.c | 4 ++++ source/blender/avi/intern/codecs.c | 4 ++++ source/blender/avi/intern/mjpeg.c | 4 ++++ source/blender/avi/intern/options.c | 5 ++++- source/blender/avi/intern/rgb32.c | 5 ++++- 5 files changed, 20 insertions(+), 2 deletions(-) (limited to 'source/blender/avi') diff --git a/source/blender/avi/intern/avi.c b/source/blender/avi/intern/avi.c index e822e81a7f3..f2e99d4929d 100644 --- a/source/blender/avi/intern/avi.c +++ b/source/blender/avi/intern/avi.c @@ -46,6 +46,10 @@ #include "endian.h" +#ifdef HAVE_CONFIG_H +#include +#endif + static int AVI_DEBUG=0; static char DEBUG_FCC[4]; diff --git a/source/blender/avi/intern/codecs.c b/source/blender/avi/intern/codecs.c index fa44dd46c41..3daff52a947 100644 --- a/source/blender/avi/intern/codecs.c +++ b/source/blender/avi/intern/codecs.c @@ -41,6 +41,10 @@ #include "mjpeg.h" #include "rgb32.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void *avi_format_convert (AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, int *size) { if (from == to) return buffer; diff --git a/source/blender/avi/intern/mjpeg.c b/source/blender/avi/intern/mjpeg.c index 8831e3ca615..ff31b04908a 100644 --- a/source/blender/avi/intern/mjpeg.c +++ b/source/blender/avi/intern/mjpeg.c @@ -43,6 +43,10 @@ #include "mjpeg.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #define PADUP(num, amt) ((num+(amt-1))&~(amt-1)) static void jpegmemdestmgr_build (j_compress_ptr cinfo, unsigned char *buffer, int bufsize); diff --git a/source/blender/avi/intern/options.c b/source/blender/avi/intern/options.c index 2c75c5773b7..a46688c8263 100644 --- a/source/blender/avi/intern/options.c +++ b/source/blender/avi/intern/options.c @@ -37,9 +37,12 @@ #include "AVI_avi.h" #include "avi_intern.h" - #include "endian.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* avi_set_compress_options gets its own file... now don't WE feel important? */ AviError AVI_set_compress_option (AviMovie *movie, int option_type, int stream, AviOption option, void *opt_data) { diff --git a/source/blender/avi/intern/rgb32.c b/source/blender/avi/intern/rgb32.c index b35bb9a7379..d838ba5b786 100644 --- a/source/blender/avi/intern/rgb32.c +++ b/source/blender/avi/intern/rgb32.c @@ -38,9 +38,12 @@ #include #include #include "MEM_guardedalloc.h" - #include "rgb32.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void *avi_converter_from_rgb32 (AviMovie *movie, int stream, unsigned char *buffer, int *size) { int y, x, rowstridea, rowstrideb; unsigned char *buf; -- cgit v1.2.3