URI:
       Allow external locale (github #66) - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
  HTML git clone https://git.drkhsh.at/tty-clock.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 08f457257bf8a7ccf107707c3aebf36a3961975c
   DIR parent 9b2c86d904efc8e0248a10c2842b5103924333aa
  HTML Author: Jeremie Francois (on omega) <jeremie.francois@gmail.com>
       Date:   Fri, 19 Mar 2021 16:58:13 +0100
       
       Allow external locale (github #66)
       
       Diffstat:
         M ttyclock.c                          |       2 ++
         M ttyclock.h                          |       2 +-
       
       2 files changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/ttyclock.c b/ttyclock.c
       @@ -37,6 +37,8 @@ void
        init(void)
        {
             struct sigaction sig;
       +     setlocale(LC_TIME,"");
       +
             ttyclock.bg = COLOR_BLACK;
        
             /* Init ncurses */
   DIR diff --git a/ttyclock.h b/ttyclock.h
       @@ -44,9 +44,9 @@
        #include <sys/select.h>
        #include <sys/stat.h>
        #include <sys/types.h>
       +#include <locale.h>
        #include <time.h>
        #include <unistd.h>
       -
        #include <ncurses.h>
        
        /* Macro */