blob: 20c9c2560cef9b2041c3ecf23113975c571e2a6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-af,v 1.1.1.1 2003/06/10 13:21:52 wiz Exp $
--- src/init_fnc.c.orig Sun Nov 3 08:09:10 2002
+++ src/init_fnc.c
@@ -12,7 +12,13 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#ifdef __linux__
#include <linux/sem.h> /* for the value of SEMVMX */
+#else
+#ifndef SEMVMX
+#define SEMVMX 32767 /* semaphore maximum value */
+#endif
+#endif
#include <dirent.h>
#include <string.h>
#include <errno.h>
|