summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in4
-rw-r--r--src/tinyproxy.h6
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 <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>