projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
64fd25a
)
Check for sys/mman.h.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 21 Jul 2003 13:18:44 +0000
(13:18 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 21 Jul 2003 13:18:44 +0000
(13:18 +0000)
configure.in
patch
|
blob
|
history
src/tincd.c
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
b192177
..
92f62a9
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,6
+1,6
@@
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.13.2.
69 2003/07/18 14:09:47
guus Exp $
+dnl $Id: configure.in,v 1.13.2.
70 2003/07/21 13:18:43
guus Exp $
AC_PREREQ(2.53)
AC_INIT(src/tincd.c)
AC_PREREQ(2.53)
AC_INIT(src/tincd.c)
@@
-89,7
+89,7
@@
dnl Checks for libraries.
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([syslog.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/socket.h sys/wait.h netdb.h arpa/inet.h netinet/in_systm.h netinet/in.h])
+AC_CHECK_HEADERS([syslog.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/socket.h sys/wait.h
sys/mman.h
netdb.h arpa/inet.h netinet/in_systm.h netinet/in.h])
AC_CHECK_HEADERS([net/ethernet.h net/if.h net/if_arp.h netinet/if_ether.h netinet/ip.h netinet/tcp.h netinet/ip_icmp.h netinet/ip6.h netinet/icmp6.h],
[], [],
[#ifdef HAVE_SYS_TYPES_H
AC_CHECK_HEADERS([net/ethernet.h net/if.h net/if_arp.h netinet/if_ether.h netinet/ip.h netinet/tcp.h netinet/ip_icmp.h netinet/ip6.h netinet/icmp6.h],
[], [],
[#ifdef HAVE_SYS_TYPES_H
diff --git
a/src/tincd.c
b/src/tincd.c
index
8ef8c51
..
da5eed6
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.7
3 2003/07/17 15:06:27
guus Exp $
+ $Id: tincd.c,v 1.10.4.7
4 2003/07/21 13:18:44
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-27,7
+27,9
@@
#define _P1003_1B_VISIBLE
#endif
#define _P1003_1B_VISIBLE
#endif
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <sys/mman.h>
+#endif
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>