diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,7 @@ #include <stdlib.h> #include <stddef.h> #include <time.h> +#include <locale.h> #ifdef __linux__ #include <sys/prctl.h> #endif @@ -426,6 +427,7 @@ sigterm_handler (int sig) { int main (int argc, char *argv[]) { + setlocale (LC_NUMERIC, "C"); fprintf (stderr, "starting deadbeef " VERSION "\n"); srand (time (NULL)); #ifdef __linux__ |