termux-packages/packages/squid/sys-stat.h.patch
Vishal Biswas 4194f00a86 updates and fixes for unified headers (#1114)
* openjdk: update to tag 172

* openjdk: update to tag 174

* valac: update from 0.36.3 to 0.36.4

* squid: fix building with unified headers

* krb5: fix building with unified headers

* tor: update from 0.3.0.8 to 0.3.0.9
2017-06-30 21:30:04 +02:00

22 lines
547 B
Diff

--- ./src/log/ModStdio.cc 2017-06-01 19:19:00.000000000 +0530
+++ ../ModStdio.cc 2017-06-29 22:32:43.806756794 +0530
@@ -18,6 +18,7 @@
#include "SquidConfig.h"
#include <cerrno>
+#include <sys/stat.h>
typedef struct {
int fd;
--- ./src/debug.cc 2017-06-01 19:19:00.000000000 +0530
+++ ../debug.cc 2017-06-29 22:36:58.160488863 +0530
@@ -17,6 +17,8 @@
/* for shutting_down flag in xassert() */
#include "globals.h"
+#include <sys/stat.h>
+
char *Debug::debugOptions = NULL;
int Debug::override_X = 0;
int Debug::log_stderr = -1;