From 37b5981177ca8b97c0907f7a7902067b46c1ab98 Mon Sep 17 00:00:00 2001 From: J. Ali Harlow Date: Thu, 8 Jan 2009 17:50:04 +0000 Subject: [PATCH] Provide a program_name global variable as required by gnulib to avoid the need for all programs that use librazor to do so. --- librazor/util.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/librazor/util.c b/librazor/util.c index 9618f50..1afb623 100644 --- a/librazor/util.c +++ b/librazor/util.c @@ -39,6 +39,9 @@ #define O_BINARY 0 #endif +/* Required by gnulib on non-libc platforms */ +char *program_name = "librazor"; + int razor_create_dir(const char *root, const char *path) { -- 1.7.1