blob: c82313ca54e08d40f3b72ecc876c21322360a617 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef ___CONFIG_H___
#define ___CONFIG_H___
/* To enable detecting of BSD systems */
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>
#endif
#include <sys/types.h>
#include <sys/socket.h>
/* For BSD */
#if (defined(BSD) && (BSD >= 199103))
# include <sys/ipc.h>
# include <sys/sem.h>
#else
/* For linux */
# include <linux/sem.h> /* for the value of SEMVMX */
#endif
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif
#ifndef SEMVMX
/* this value comes from linux/sem.h */
#define SEMVMX 32767
#endif
#endif /* ___CONFIG_H___ */
|