From f4e66550d2c206f1087c357e599880269cbe3e5f Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 1 Apr 2021 10:25:40 +0300 Subject: [PATCH] read_config.c: define SYSCONFDIR as ".", if not already defined. Just to be safe. (and would help with cases where one might use standalone makefiles and not autotools.) --- src/read_config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/read_config.c b/src/read_config.c index 6e38c76..83c16be 100644 --- a/src/read_config.c +++ b/src/read_config.c @@ -17,6 +17,10 @@ #include #endif +#if !defined(SYSCONFDIR) +#define SYSCONFDIR "." +#endif + static char driver[32]; static char instrument_path[256];