$OpenBSD: patch-src_init_fnc_c,v 1.1.1.1 2002/02/01 02:40:17 naddy Exp $ --- src/init_fnc.c.orig Mon Jan 28 12:40:19 2002 +++ src/init_fnc.c Mon Jan 28 12:42:26 2002 @@ -7,7 +7,11 @@ #include #include #include -#include /* for the value of SEMVMX */ + +#ifdef HAVE_LINUX_SEM_H +# include /* for the value of SEMVMX */ +#endif + #include #include #include @@ -17,6 +21,10 @@ #include "main.h" #include "do_connect.h" #include "dctc_process.h" + +#ifdef __OpenBSD__ +# define SEMVMX 32767 +#endif GtkStyle *fast_style=NULL; /* style for fast user */