pkgsrc/sysutils/xentools42/patches/patch-firmware_hvmloader_util.h
spz fcf436606c Apply patches for XSA-128 to XSA-140 from upstream
do a patch refresh in xentools42

rather than split the patches for pass-through.c over 5 files, delete
xentools42/patches/patch-CVE-2015-2756 and assemble all in
xentools42/patches/patch-qemu-xen-traditional_hw_pass-through.c
2015-08-23 16:17:12 +00:00

20 lines
630 B
C

$NetBSD: patch-firmware_hvmloader_util.h,v 1.2 2015/08/23 16:17:12 spz Exp $
--- firmware/hvmloader/util.h.orig 2014-09-02 06:22:57.000000000 +0000
+++ firmware/hvmloader/util.h
@@ -3,6 +3,7 @@
#include <stdarg.h>
#include <stdint.h>
+#include <stddef.h>
#include <xen/xen.h>
#include <xen/hvm/hvm_info_table.h>
@@ -172,7 +173,6 @@ int printf(const char *fmt, ...) __attri
int vprintf(const char *fmt, va_list ap);
/* Buffer output */
-typedef unsigned long size_t;
int snprintf(char *buf, size_t size, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
/* Populate specified memory hole with RAM. */