From 6452587524f1fd1b2551642992114010afb51f36 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 2 Dec 2001 21:54:10 +0000 Subject: o Update to 0.61 o Greatly simplify the patches removing sigprocmask protection around send/receive since there is already a global signal handler --- net/dctc/files/config.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 net/dctc/files/config.h (limited to 'net/dctc/files/config.h') diff --git a/net/dctc/files/config.h b/net/dctc/files/config.h new file mode 100644 index 000000000000..c82313ca54e0 --- /dev/null +++ b/net/dctc/files/config.h @@ -0,0 +1,30 @@ +#ifndef ___CONFIG_H___ +#define ___CONFIG_H___ + +/* To enable detecting of BSD systems */ +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif + +#include +#include + +/* For BSD */ +#if (defined(BSD) && (BSD >= 199103)) +# include +# include +#else +/* For linux */ +# include /* 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___ */ -- cgit v1.2.3