]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: allow build of squid_session on Windows
authorGuido Serassio <serassio@squid-cache.org>
Sat, 17 May 2008 09:22:17 +0000 (11:22 +0200)
committerGuido Serassio <serassio@squid-cache.org>
Sat, 17 May 2008 09:22:17 +0000 (11:22 +0200)
helpers/external_acl/session/squid_session.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ac4f917..bb9de88
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include <string.h>
 #include <time.h>
+#if HAVE_GETOPT_H
+#include <getopt.h>
+#endif
 
 #if defined(HAVE_DB_185_H)
 #include <db_185.h>