lunch-poll-legacy

Lunch Poll Legacy -- poll colleagues where to have lunch
Log | Files | Refs | README | LICENSE

commit ec5e8d40bf661eb164771c4b7e16f07e57cdd33b
parent 964ab119f2e85f1832024fe2655b6d6564f604b1
Author: Matthias Balk <mbalk@mbalk.de>
Date:   Wed,  6 May 2026 16:57:20 +0200

Fix: needed '#define' for 'strptime()'

Diffstat:
Msrc/config.h | 2+-
Msrc/date-utils.c | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/config.h b/src/config.h @@ -6,7 +6,7 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ -#define PROG_VERSION "1.3.1" +#define PROG_VERSION "1.3.2" #define PROG_NAME "Lunch Poll Legacy" #define COPYRIGHT "Copyright 2024 - 2026 Matthias Balk" #define SOURCE_CODE_DOWNLOAD_URL ((char *) NULL) diff --git a/src/date-utils.c b/src/date-utils.c @@ -1,8 +1,11 @@ /** * Lunch Poll Legacy - * Copyright 2024, 2025 Matthias Balk + * Copyright 2024 - 2026 Matthias Balk */ +/* for strptime(): */ +#define _XOPEN_SOURCE + #include <sys/types.h> #include <time.h> #include <string.h>