[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Partially revert "cleanup: Don't include libvirt/libvirt.h"



This reverts the changes to remote_protocol.x made in commit
2d25fd4f410f65b40ef1c3d65124775a944f4025.  It turns out that
if 'dwarves' is installed, 'make check' fails if any *_LAST
enum values are visible from within the .o file compiled from
a .x file; including <libvirt/libvirt.h> prior to "internal.h"
is the documented way to avoid exposing *_LAST enum elements.
---

Pushing under the build-breaker rule.

 src/remote/remote_protocol.x | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index d384225..b957b8e 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -36,6 +36,7 @@
  * 'REMOTE_'.  This makes names quite long.
  */

+%#include <libvirt/libvirt.h>
 %#include "internal.h"
 %#include <arpa/inet.h>

-- 
1.8.1.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]