diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-21 18:32:50 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-21 18:32:50 +0000 |
commit | 8900b3c75142c9701657f20b307d70f106cc3697 (patch) | |
tree | 2163fb380a5f66ebe2962a7dd99ee546419bb3d4 /draw/glui.h | |
parent | 9381ae971066a42ad00def424c29370ced09eb60 (diff) | |
download | radiola-8900b3c75142c9701657f20b307d70f106cc3697.tar.gz radiola-8900b3c75142c9701657f20b307d70f106cc3697.zip |
Add NetBSD support files and config_bsd.h to be compatible with NetBSD
Diffstat (limited to 'draw/glui.h')
-rw-r--r-- | draw/glui.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/draw/glui.h b/draw/glui.h index 0b9f6f3..17c49da 100644 --- a/draw/glui.h +++ b/draw/glui.h @@ -1,5 +1,6 @@ #ifndef __RADIOLA_GLUI_H #define __RADIOLA_GLUI_H +#include "../config.h" #include <stdio.h> #include <stdint.h> @@ -8,6 +9,8 @@ #include <termios.h> #include <unistd.h> +#if defined(OS_LINUX) + #include <SDL2/SDL.h> //to draw waterfall @@ -56,5 +59,5 @@ int glui_waterfall_data( glui_t *w, int len, uint8_t *buf ); glui_color_t glui_waterfall_color( uint8_t d ); //close terminal ui int glui_close( glui_t *t ); - +#endif #endif
\ No newline at end of file |