Check for sys/mman.h.

This commit is contained in:
Guus Sliepen 2003-07-21 13:18:44 +00:00
parent 64fd25aa6b
commit 2f2defc452
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
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)
@ -89,7 +89,7 @@ dnl Checks for libraries.
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

View file

@ -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.73 2003/07/17 15:06:27 guus Exp $
$Id: tincd.c,v 1.10.4.74 2003/07/21 13:18:44 guus Exp $
*/
#include "system.h"
@ -27,7 +27,9 @@
#define _P1003_1B_VISIBLE
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <openssl/rand.h>
#include <openssl/rsa.h>