diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2000-09-14 16:41:20 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2000-09-14 16:41:20 +0000 |
commit | d0b36a6673db0dad4b0a70fbdd68d3c2e5fed6e0 (patch) | |
tree | 1a490c02f4cbd8bf1f761d1a99b5903e86f0fa1f | |
parent | a5fbf4ea4b8366ba02f19e314f3e2abed4cf38b9 (diff) | |
download | tinyproxy-d0b36a6673db0dad4b0a70fbdd68d3c2e5fed6e0.tar.gz tinyproxy-d0b36a6673db0dad4b0a70fbdd68d3c2e5fed6e0.zip |
Need to do a check for the <stdint.h> header since it's not a standard
header available on all systems.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | src/tinyproxy.h | 6 |
3 files changed, 11 insertions, 4 deletions
@@ -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> * 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 <pthread.h> #endif -#include <stdint.h> +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |