From: Guus Sliepen Date: Sun, 15 Sep 2002 12:26:04 +0000 (+0000) Subject: MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall(). X-Git-Tag: release-1.0pre8~6 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=38c80bdd46fab68c686a293e2820041291972f3a;ds=sidebyside MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall(). --- diff --git a/src/tincd.c b/src/tincd.c index 6bd92ecb..8ebbe42a 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: tincd.c,v 1.10.4.63 2002/09/09 21:25:16 guus Exp $ + $Id: tincd.c,v 1.10.4.64 2002/09/15 12:26:04 guus Exp $ */ #include "config.h" @@ -33,6 +33,12 @@ #include #include #include + +/* Darwin (MacOS/X) needs the following definition... */ +#ifndef _P1003_1B_VISIBLE +#define _P1003_1B_VISIBLE +#endif + #include #ifdef HAVE_SYS_IOCTL_H