$NetBSD: patch-aa,v 1.4 2016/11/06 15:39:28 adam Exp $ Add OF() compat macro. --- src/includes/unzip.h.orig 2016-11-03 21:25:43.000000000 +0000 +++ src/includes/unzip.h @@ -49,6 +49,14 @@ #if !defined(_unz_H) && defined(HAVE_ZLIB_H) #define _unz_H +#ifndef OF /* function prototypes */ +# ifdef STDC +# define OF(args) args +# else +# define OF(args) () +# endif +#endif + #ifdef __cplusplus extern "C" { #endif