Need to do a check for the <stdint.h> header since it's not a standard

header available on all systems.
This commit is contained in:
Robert James Kaes 2000-09-14 16:41:20 +00:00
parent a5fbf4ea4b
commit d0b36a6673
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-09-14 Robert James Kaes <rjkaes@flarenet.com>
* configure.in:
* src/tinyproxy.h: Check for the <stdint.h> header.
2000-08-23 Robert James Kaes <rjkaes@flarenet.com> 2000-08-23 Robert James Kaes <rjkaes@flarenet.com>
* src/utils.c (pidfile_create): Improved the security of this * src/utils.c (pidfile_create): Improved the security of this

View File

@ -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() AC_INIT()
AM_INIT_AUTOMAKE(tinyproxy,1.3.4pre20) AM_INIT_AUTOMAKE(tinyproxy,1.3.4pre20)
@ -17,7 +17,7 @@ AM_C_PROTOTYPES
dnl Checks for header files. dnl Checks for header files.
AC_HEADER_STDC 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. dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST

View File

@ -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. * See 'tinyproxy.c' for a detailed description.
* *
@ -42,7 +42,9 @@
#ifdef HAVE_PTHREAD_H #ifdef HAVE_PTHREAD_H
# include <pthread.h> # include <pthread.h>
#endif #endif
#ifdef HAVE_STDINT_H
# include <stdint.h> # include <stdint.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>