openbsd-ports/databases/gnats/patches/patch-libiberty_dummy_c

13 lines
483 B
Plaintext

$OpenBSD: patch-libiberty_dummy_c,v 1.1 2003/12/30 10:07:48 espie Exp $
--- libiberty/dummy.c.orig 2003-12-30 10:53:57.000000000 +0100
+++ libiberty/dummy.c 2003-12-30 10:58:42.000000000 +0100
@@ -2,6 +2,8 @@
#ifdef __STDC__
#include <stddef.h>
+#include <stdarg.h>
+#include <stdio.h>
#define clock_t unsigned long
#define DEF(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME (ARGS);
#define DEFFUNC(NAME, RETURN_TYPE, ARGLIST, ARGS) extern RETURN_TYPE NAME (ARGS);