client: fix broken vs2008 build

This commit is contained in:
Alon Levy 2011-01-27 12:12:41 +02:00
parent bfdd2371f8
commit fe3b3d3937
2 changed files with 14 additions and 1 deletions

View File

@ -26,7 +26,11 @@
#include <errno.h>
#endif
#include <spice/types.h>
#define __STDC_FORMAT_MACROS
#ifndef _WIN32
#include <inttypes.h>
#endif
#include <stdio.h>
#include <string>
#include <vector>
@ -62,6 +66,11 @@
#define RED64
#endif
#if defined(_WIN32) && !defined(PRIu64)
#define PRIu64 "I64u"
#endif
#include <spice/types.h>
#include "red_types.h"
#endif

View File

@ -24,6 +24,10 @@
#include "debug.h"
#include "marshallers.h"
#ifndef INFINITY
#define INFINITY HUGE
#endif
#ifdef __GNUC__
typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin {
#else