From: Guus Sliepen Date: Sat, 8 Jun 2002 13:46:43 +0000 (+0000) Subject: Use inttypes.h instead of stdint.h. X-Git-Tag: release-1.0pre8~69 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=e47e51e9d17416e2b614287d14a5518881decd44;p=tinc Use inttypes.h instead of stdint.h. --- diff --git a/configure.in b/configure.in index 5efcd870..37f47340 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.13.2.45 2002/06/08 12:57:09 guus Exp $ +dnl $Id: configure.in,v 1.13.2.46 2002/06/08 13:46:06 guus Exp $ AC_INIT(src/tincd.c) AM_INIT_AUTOMAKE(tinc, 1.0-cvs) @@ -69,7 +69,7 @@ dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ +AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h \ sys/file.h sys/ioctl.h sys/param.h sys/time.h]) diff --git a/src/net.h b/src/net.h index 29839a29..b7e01041 100644 --- a/src/net.h +++ b/src/net.h @@ -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: net.h,v 1.9.4.50 2002/06/08 12:57:09 guus Exp $ + $Id: net.h,v 1.9.4.51 2002/06/08 13:46:07 guus Exp $ */ #ifndef __TINC_NET_H__ @@ -28,8 +28,8 @@ #include #include -#ifdef HAVE_STDINT_H - #include +#ifdef HAVE_INTTYPES_H + #include #endif #include "config.h" diff --git a/src/netutl.c b/src/netutl.c index 82a4259b..cfaf6b47 100644 --- a/src/netutl.c +++ b/src/netutl.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: netutl.c,v 1.12.4.38 2002/06/08 12:57:10 guus Exp $ + $Id: netutl.c,v 1.12.4.39 2002/06/08 13:46:43 guus Exp $ */ #include "config.h" @@ -27,8 +27,8 @@ #include #include #include -#ifndef HAVE_STDINT_H - #include +#ifdef HAVE_INTTYPES_H + #include #endif #include #include diff --git a/src/node.h b/src/node.h index 6f366c2a..73ff0a27 100644 --- a/src/node.h +++ b/src/node.h @@ -17,14 +17,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: node.h,v 1.1.2.14 2002/06/08 12:57:10 guus Exp $ + $Id: node.h,v 1.1.2.15 2002/06/08 13:46:07 guus Exp $ */ #ifndef __TINC_NODE_H__ #define __TINC_NODE_H__ -#ifdef HAVE_STDINT_H - #include +#ifdef HAVE_INTTYPES_H + #include #endif #include diff --git a/src/route.c b/src/route.c index 9ddb1d1c..d2c540b6 100644 --- a/src/route.c +++ b/src/route.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: route.c,v 1.1.2.40 2002/06/08 12:57:10 guus Exp $ + $Id: route.c,v 1.1.2.41 2002/06/08 13:46:07 guus Exp $ */ #include "config.h" @@ -40,8 +40,8 @@ #include #include #include -#ifdef HAVE_STDINT_H - #include +#ifdef HAVE_INTTYPES_H + #include #endif #include