Provide a program_name global variable as required by gnulib to
authorJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 8 Jan 2009 17:50:04 +0000 (17:50 +0000)
committerJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 8 Jan 2009 17:50:04 +0000 (17:50 +0000)
avoid the need for all programs that use librazor to do so.

librazor/util.c

index 9618f50..1afb623 100644 (file)
@@ -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)
 {