$NetBSD: patch-af,v 1.3 2005/12/05 20:50:45 rillig Exp $ --- src/init_fnc.c.orig Wed Jul 9 18:20:53 2003 +++ src/init_fnc.c @@ -35,7 +35,13 @@ #include #include #include +#ifdef __linux__ #include /* for the value of SEMVMX */ +#else +#ifndef SEMVMX +#define SEMVMX 32767 /* semaphore maximum value */ +#endif +#endif #include #include #include