From: J. Ali Harlow Date: Thu, 8 Jan 2009 17:50:04 +0000 (+0000) Subject: Provide a program_name global variable as required by gnulib to X-Git-Tag: 0.1~40 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=37b5981177ca8b97c0907f7a7902067b46c1ab98;p=razor.git Provide a program_name global variable as required by gnulib to avoid the need for all programs that use librazor to do so. --- 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) {