Build fix for 'driver.c' when building with loadable modules

The 'asprintf' -> 'virAsprintf' transition made in
[043d702f] "use virAsprintf instead of asprintf" introducted
a build error for 'driver.c' as 'util.h' has to be included.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
This commit is contained in:
Jim Meyering 2009-02-17 10:43:26 +00:00
parent 81ba67b2b6
commit 73619269ae
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Tue Feb 17 11:41:10 +0100 2009 Maximilian Wilhelm <max@rfc2324.org>
Build fix for 'driver.c' when building with loadable modules
The 'asprintf' -> 'virAsprintf' transition made in
[9e5d9950] "use virAsprintf instead of asprintf" introducted
a build error for 'driver.c' as 'util.h' has to be included.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Tue Feb 17 11:32:01 +0100 2009 Jim Meyering <meyering@redhat.com>
Avoid link failure when configured --with-driver-modules

View File

@ -1,7 +1,7 @@
/*
* driver.c: Helpers for loading drivers
*
* Copyright (C) 2006-2008 Red Hat, Inc.
* Copyright (C) 2006-2009 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -27,6 +27,7 @@
#include "driver.h"
#include "memory.h"
#include "logging.h"
#include "util.h"
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/drivers"