From d0b36a6673db0dad4b0a70fbdd68d3c2e5fed6e0 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 14 Sep 2000 16:41:20 +0000 Subject: Need to do a check for the header since it's not a standard header available on all systems. --- ChangeLog | 5 +++++ configure.in | 4 ++-- src/tinyproxy.h | 6 ++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ebb542..477d776 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-09-14 Robert James Kaes + + * configure.in: + * src/tinyproxy.h: Check for the header. + 2000-08-23 Robert James Kaes * src/utils.c (pidfile_create): Improved the security of this diff --git a/configure.in b/configure.in index 95a6a43..30a15d4 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.3 2000-09-12 00:18:17 rjkaes Exp $ +dnl $Id: configure.in,v 1.4 2000-09-14 16:41:20 rjkaes Exp $ AC_INIT() AM_INIT_AUTOMAKE(tinyproxy,1.3.4pre20) @@ -17,7 +17,7 @@ AM_C_PROTOTYPES dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(sys/types.h sys/socket.h sys/time.h time.h netinet/in.h arpa/inet.h error.h fcntl.h netdb.h signal.h stdio.h stdint.h stdlib.h string.h sys/stat.h sys/uio.h unistd.h sys/wait.h sys/un.h sys/select.h strings.h sys/ioctl.h pthread.h sys/sysctl.h syslog.h) +AC_CHECK_HEADERS(sys/types.h sys/socket.h sys/time.h time.h netinet/in.h arpa/inet.h error.h fcntl.h netdb.h signal.h stdio.h stdint.h stdlib.h string.h sys/stat.h sys/uio.h unistd.h sys/wait.h sys/un.h sys/select.h strings.h sys/ioctl.h pthread.h sys/sysctl.h syslog.h stdint.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST diff --git a/src/tinyproxy.h b/src/tinyproxy.h index 0f9a0d8..5ca4f18 100644 --- a/src/tinyproxy.h +++ b/src/tinyproxy.h @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.h,v 1.4 2000-09-12 00:03:53 rjkaes Exp $ +/* $Id: tinyproxy.h,v 1.5 2000-09-14 16:41:20 rjkaes Exp $ * * See 'tinyproxy.c' for a detailed description. * @@ -42,7 +42,9 @@ #ifdef HAVE_PTHREAD_H # include #endif -#include +#ifdef HAVE_STDINT_H +# include +#endif #include #include #include -- cgit v1.2.3