include guards for version.h are in squid.h
Change this to use the standard approach
#define SQUID_CONFIG_H
#include "autoconf.h" /* For GNU autoconf variables */
-
-#if !defined(HAVE_SQUID)
-/* sub-packages define their own version details */
#include "version.h"
-#endif
-
/* default values for listen ports. Usually specified in squid.conf really */
#define CACHE_HTTP_PORT 3128
#define CACHE_ICP_PORT 3130
* Please see the COPYING and CONTRIBUTORS files for details.
*/
+#ifndef SQUID_VERSION_H
+#define SQUID_VERSION_H
+
#ifndef SQUID_RELEASE_TIME
#define SQUID_RELEASE_TIME squid_curtime
#endif
#define APP_FULLNAME PACKAGE "/" VERSION
#endif
+#endif /* SQUID_VERSION_H */