projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e3b4a3
)
MacOS/X needs #define _P1003_1B_VISIBLE in order to use mlockall().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Sep 2002 12:26:04 +0000
(12:26 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Sep 2002 12:26:04 +0000
(12:26 +0000)
src/tincd.c
patch
|
blob
|
history
diff --git
a/src/tincd.c
b/src/tincd.c
index
6bd92ec
..
8ebbe42
100644
(file)
--- 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.
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.6
3 2002/09/09 21:25:16
guus Exp $
+ $Id: tincd.c,v 1.10.4.6
4 2002/09/15 12:26:04
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-33,6
+33,12
@@
#include <signal.h>
#include <string.h>
#include <termios.h>
#include <signal.h>
#include <string.h>
#include <termios.h>
+
+/* Darwin (MacOS/X) needs the following definition... */
+#ifndef _P1003_1B_VISIBLE
+#define _P1003_1B_VISIBLE
+#endif
+
#include <sys/mman.h>
#ifdef HAVE_SYS_IOCTL_H
#include <sys/mman.h>
#ifdef HAVE_SYS_IOCTL_H