1 #ifndef KVM__SDL_H 2 #define KVM__SDL_H 3 4 #include "kvm/util.h" 5 6 struct framebuffer; 7 8 #ifdef CONFIG_HAS_SDL 9 void sdl__init(struct framebuffer *fb); 10 #else 11 static inline void sdl__init(struct framebuffer *fb) 12 { 13 die("SDL support not compiled in. (install the SDL-dev[el] package)"); 14 } 15 #endif 16 17 #endif /* KVM__SDL_H */ 18