2009-11-16 Robert Millan <rmh.grub@aybabtu.com>

Fix build for systems without error().

        * gnulib/error.c: New file (imported from Gnulib).
        * gnulib/error.h: Likewise.
        * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/error.c'.
        * util/mkisofs/mkisofs.c (program_name): Remove `static' qualifier
        (this variable is now used by error()).
This commit is contained in:
Robert Millan 2009-11-16 18:49:44 +00:00
parent 73fb3dd5f0
commit af2f93ac47
5 changed files with 430 additions and 2 deletions

View file

@ -22,7 +22,7 @@
along with this program; if not, see <http://www.gnu.org/licenses/>.
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static const char *program_name = "grub-mkisofs";
const char *program_name = "grub-mkisofs";
#include <errno.h>
#include "config.h"