提交 73619269 编写于 作者: J Jim Meyering

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: NMaximilian Wilhelm <max@rfc2324.org>
上级 81ba67b2
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
......
/*
* 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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册