mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-13 11:15:08 +00:00
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:
parent
81ba67b2b6
commit
73619269ae
@ -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>
|
Tue Feb 17 11:32:01 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
Avoid link failure when configured --with-driver-modules
|
Avoid link failure when configured --with-driver-modules
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* driver.c: Helpers for loading drivers
|
* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -27,6 +27,7 @@
|
|||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/drivers"
|
#define DEFAULT_DRIVER_DIR LIBDIR "/libvirt/drivers"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user