]> xenbits.xensource.com Git - libvirt.git/commitdiff
Build fix for 'driver.c' when building with loadable modules
authorJim Meyering <meyering@redhat.com>
Tue, 17 Feb 2009 10:43:26 +0000 (10:43 +0000)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Feb 2009 10:43:26 +0000 (10:43 +0000)
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>
ChangeLog
src/driver.c

index d0fbd62320e6efd6c1678dad6302030e9f9eaf77..1ce60d369d26d058f1c09ff55ffd2099c83f2e62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index fda64ddfe24b43793a73e320dddfdcc0ac62373e..01d4a516751f2f1cad45347d58ded6dfb82296fe 100644 (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"