]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added usage of configure results
authorserassio <>
Sun, 14 May 2006 23:07:45 +0000 (23:07 +0000)
committerserassio <>
Sun, 14 May 2006 23:07:45 +0000 (23:07 +0000)
tools/squidclient.cc

index f8a80c319be1e899337ff635163a87bf481b857b..be61de8b439267397f4075f8f55019b3d3d4c3a5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squidclient.cc,v 1.3 2006/05/12 19:14:31 serassio Exp $
+ * $Id: squidclient.cc,v 1.4 2006/05/14 17:07:45 serassio Exp $
  *
  * DEBUG: section 0     WWW Client
  * AUTHOR: Harvest Derived
 #ifdef _SQUID_WIN32_
 #include <io.h>
 #endif
+#if HAVE_STDIO_H
 #include <stdio.h>
+#endif
+#if HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#if HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
+#if HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
+#endif
+#if HAVE_STRING_H
 #include <string.h>
+#endif
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+#if HAVE_NETDB_H && !defined(_SQUID_NETDB_H_)  /* protect NEXTSTEP */
+#define _SQUID_NETDB_H_
 #include <netdb.h>
+#endif
+#if HAVE_SIGNAL_H
 #include <signal.h>
+#endif
+#if HAVE_ERRNO_H
 #include <errno.h>
+#endif
+#if HAVE_SYS_STAT_H
 #include <sys/stat.h>
+#endif
+#if HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+#if HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
 
 #include "util.h"