summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index e22e2c0..6ab884a 100644
--- a/src/main.h
+++ b/src/main.h
@@ -27,6 +27,8 @@ THE SOFTWARE.
#include <piano.h>
#include <waitress.h>
+#include <sys/select.h>
+
#include "player.h"
#include "settings.h"
@@ -40,6 +42,10 @@ typedef struct {
PianoSong_t *songHistory;
PianoStation_t *curStation;
char doQuit;
+ fd_set readSet;
+ int maxFd;
+ int selectFds[2];
+ FILE *ctlFd;
} BarApp_t;
#endif /* _MAIN_H */