]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
audiod get_play_time_slot_num(): Avoid possible NULL pointer dereference.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index 3c1889ca51ae44fa89fdea7999aad0dcd31dcb33..c8721565ae86502319be0ed2e6257454b876f841 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -9,7 +9,6 @@
 #include <regex.h>
 #include <signal.h>
 #include <sys/types.h>
-#include <dirent.h>
 #include <curses.h>
 
 #include "gui.cmdline.h"
@@ -22,6 +21,7 @@
 #include "list.h"
 #include "sched.h"
 #include "signal.h"
+#include "version.h"
 
 /** define the array of error lists needed by para_gui */
 INIT_GUI_ERRLISTS;