X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fimage.h;fp=src%2Fimage.h;h=d05b63c6a21ab424d8d14f7dde497c0b29057628;hb=52189f4b3b797e08699f67880198b585320cf8bf;hp=6315340eaf9d5d98371f2aaabd7b9195f7e2ca47;hpb=b9c7e4a42762c8526702726f1404d3e75dbc29f5;p=rocksndiamonds.git diff --git a/src/image.h b/src/image.h index 6315340e..d05b63c6 100644 --- a/src/image.h +++ b/src/image.h @@ -14,6 +14,8 @@ #ifndef IMAGE_H #define IMAGE_H +#ifndef USE_SDL_LIBRARY + #include "main.h" #define MAX_COLORS 256 /* maximal number of colors for each image */ @@ -55,4 +57,6 @@ Image *newImage(unsigned int, unsigned int, unsigned int); void freeImage(Image *); void freeXImage(Image *, XImageInfo *); +#endif /* !USE_SDL_LIBRARY */ + #endif /* IMAGE_H */