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

[libvirt] [PATCH] Fix tip of git



I get these type of compilation errors:

In file included from util/virnetdevvportprofile.c:25:0:
util/virnetdevvportprofile.h:49:13: error: expected specifier-qualifier-list before 'uint8_t'
util/virnetdevvportprofile.c: In function 'virNetDevVPortProfileEqual':
util/virnetdevvportprofile.c:45:33: error: 'struct <anonymous>' has no member named 'managerID' util/virnetdevvportprofile.c:45:67: error: 'struct <anonymous>' has no member named 'managerID' util/virnetdevvportprofile.c:46:33: error: 'struct <anonymous>' has no member named 'typeID' util/virnetdevvportprofile.c:46:64: error: 'struct <anonymous>' has no member named 'typeID' util/virnetdevvportprofile.c:47:33: error: 'struct <anonymous>' has no member named 'typeIDVersion' util/virnetdevvportprofile.c:47:71: error: 'struct <anonymous>' has no member named 'typeIDVersion' util/virnetdevvportprofile.c:48:40: error: 'struct <anonymous>' has no member named 'instanceID' util/virnetdevvportprofile.c:48:73: error: 'struct <anonymous>' has no member named 'instanceID'

This patch trivially fixes it:

--- a/src/util/virnetdevvportprofile.h
+++ b/src/util/virnetdevvportprofile.h
@@ -23,6 +23,8 @@
 #ifndef __VIR_NETDEV_VPORT_PROFILE_H__
 # define __VIR_NETDEV_VPORT_PROFILE_H__

+# include <stdint.h>
+
 # include "internal.h"
 # include "uuid.h"
 # include "util.h"


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