diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,7 @@ #include <stdint.h> #include <string.h> #include <stdlib.h> +#include <time.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/types.h> @@ -491,6 +492,7 @@ on_trayicon_popup_menu (GtkWidget *widget, int main (int argc, char *argv[]) { + srand (time (NULL)); prctl (PR_SET_NAME, "deadbeef-main", 0, 0, 0, 0); char *homedir = getenv ("HOME"); if (!homedir) { |