summaryrefslogtreecommitdiff
path: root/sysutils/testdisk/patches/patch-aa
blob: 2fda49f3a9bfe48a8903f17bc87d1aef2d32af21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.2 2013/09/09 17:45:58 drochner Exp $

stdarg(3) is required by various functions that can be called with variable
argument lists.

--- src/intrfn.h.orig	2013-05-17 09:34:03.000000000 +0000
+++ src/intrfn.h
@@ -39,6 +39,8 @@ extern "C" {
 #include <curses.h>
 #endif
 
+#include <stdarg.h>
+
 void aff_copy(WINDOW *window);
 void aff_copy_short(WINDOW *window);
 void aff_LBA2CHS(const disk_t *disk_car, const unsigned long int pos_LBA);