summaryrefslogtreecommitdiff
path: root/draw/glui.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw/glui.h')
-rw-r--r--draw/glui.h5
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