$OpenBSD: patch-Modules_nismodule_c,v 1.1 2006/11/01 20:59:18 alek Exp $ --- Modules/nismodule.c.orig Tue Feb 28 03:46:16 2006 +++ Modules/nismodule.c Mon Sep 18 06:31:10 2006 @@ -89,7 +89,7 @@ nis_mapname (char *map, int *pfix) return map; } -#ifdef __APPLE__ +#ifdef __OpenBSD__ typedef int (*foreachfunc)(unsigned long, char *, int, char *, int, void *); #else typedef int (*foreachfunc)(int, char *, int, char *, int, char *);