Ignore:
Timestamp:
Aug 3, 2012, 1:33:16 PM (8 years ago)
Author:
sam
Message:

build: tweak everything to allow building with SDL on the Raspberry Pi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/image/codec/sdl-image.cpp

    r1513 r1691  
    1515#if defined USE_SDL_IMAGE
    1616
    17 #include <SDL.h>
    18 #include <SDL_image.h>
     17#if defined HAVE_SDL_SDL_H
     18#   include <SDL/SDL.h>
     19#else
     20#   include <SDL.h>
     21#endif
     22#if defined HAVE_SDL_SDL_IMAGE_H
     23#   include <SDL/SDL_image.h>
     24#else
     25#   include <SDL_image.h>
     26#endif
    1927
    2028#include "core.h"
Note: See TracChangeset for help on using the changeset viewer.