termux-packages/packages/squid/sys-stat.h.patch

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;