diff options
Diffstat (limited to 'intern/img')
-rw-r--r-- | intern/img/extern/IMG_Pixmap.h | 4 | ||||
-rw-r--r-- | intern/img/extern/IMG_PixmapRGBA32.h | 5 | ||||
-rw-r--r-- | intern/img/intern/IMG_Color.h | 4 | ||||
-rw-r--r-- | intern/img/intern/IMG_MemPtr.h | 4 | ||||
-rw-r--r-- | intern/img/intern/IMG_Pixmap.cpp | 5 | ||||
-rw-r--r-- | intern/img/intern/IMG_PixmapRGBA32.cpp | 3 |
6 files changed, 24 insertions, 1 deletions
diff --git a/intern/img/extern/IMG_Pixmap.h b/intern/img/extern/IMG_Pixmap.h index d9ab96cd745..8f07e6a46bb 100644 --- a/intern/img/extern/IMG_Pixmap.h +++ b/intern/img/extern/IMG_Pixmap.h @@ -41,6 +41,10 @@ #ifndef _H_IMG_Pixmap #define _H_IMG_Pixmap +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "GEN_Types.h" #include "GEN_Rect.h" diff --git a/intern/img/extern/IMG_PixmapRGBA32.h b/intern/img/extern/IMG_PixmapRGBA32.h index 861b9ab3ebf..7d7a937321d 100644 --- a/intern/img/extern/IMG_PixmapRGBA32.h +++ b/intern/img/extern/IMG_PixmapRGBA32.h @@ -45,6 +45,11 @@ #ifndef _H_IMG_PixmapRGBA32 #define _H_IMG_PixmapRGBA32 +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + + #include "IMG_Pixmap.h" #include "IMG_MemPtr.h" #include "IMG_Color.h" diff --git a/intern/img/intern/IMG_Color.h b/intern/img/intern/IMG_Color.h index 92a452096c6..71273c22ae9 100644 --- a/intern/img/intern/IMG_Color.h +++ b/intern/img/intern/IMG_Color.h @@ -43,6 +43,10 @@ #ifndef _H_IMG_Color #define _H_IMG_Color +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + class IMG_ColorRGBA; diff --git a/intern/img/intern/IMG_MemPtr.h b/intern/img/intern/IMG_MemPtr.h index a89e1f48d00..21a64a848a8 100644 --- a/intern/img/intern/IMG_MemPtr.h +++ b/intern/img/intern/IMG_MemPtr.h @@ -40,6 +40,10 @@ #include <stddef.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /** * A memory pointer for memory of any type. * It can be used to avoid memory leaks when allocating memory in constructors. diff --git a/intern/img/intern/IMG_Pixmap.cpp b/intern/img/intern/IMG_Pixmap.cpp index 74888647b75..51bf3b30038 100644 --- a/intern/img/intern/IMG_Pixmap.cpp +++ b/intern/img/intern/IMG_Pixmap.cpp @@ -38,6 +38,9 @@ * @date March 6, 2001 */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "../extern/IMG_Pixmap.h" @@ -82,4 +85,4 @@ IMG_Pixmap::IMG_Pixmap(GEN_TUns32 width, GEN_TUns32 height) IMG_Pixmap::~IMG_Pixmap() { -}
\ No newline at end of file +} diff --git a/intern/img/intern/IMG_PixmapRGBA32.cpp b/intern/img/intern/IMG_PixmapRGBA32.cpp index 70c62141097..a79ffe1b6e4 100644 --- a/intern/img/intern/IMG_PixmapRGBA32.cpp +++ b/intern/img/intern/IMG_PixmapRGBA32.cpp @@ -38,6 +38,9 @@ * @date March 6, 2001 */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "IMG_PixmapRGBA32.h" |