From ae4436215cb113a02eac73c6afd368166090967c Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 18 Jun 2010 21:10:25 +0200 Subject: Make generated marshallers build on win32 --- common/marshaller.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/marshaller.h') diff --git a/common/marshaller.h b/common/marshaller.h index 3b159aa9..a60e97b4 100644 --- a/common/marshaller.h +++ b/common/marshaller.h @@ -20,7 +20,9 @@ #define _H_MARSHALLER #include +#ifndef WIN32 #include +#endif typedef struct SpiceMarshaller SpiceMarshaller; typedef void (*spice_marshaller_item_free_func)(uint8_t *data, void *opaque); @@ -44,8 +46,10 @@ size_t spice_marshaller_get_size(SpiceMarshaller *m); size_t spice_marshaller_get_total_size(SpiceMarshaller *m); SpiceMarshaller *spice_marshaller_get_submarshaller(SpiceMarshaller *m); SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m, int is_64bit); +#ifndef WIN32 int spice_marshaller_fill_iovec(SpiceMarshaller *m, struct iovec *vec, int n_vec, size_t skip_bytes); +#endif void spice_marshaller_add_uint64(SpiceMarshaller *m, uint64_t v); void spice_marshaller_add_int64(SpiceMarshaller *m, int64_t v); void spice_marshaller_add_uint32(SpiceMarshaller *m, uint32_t v); -- cgit