Commit d320b774 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Include <sys/stat.h> to define mode_t in vpf.h

Inspired by:

https://git.alpinelinux.org/cgit/aports/plain/main/varnish/musl-mode_t.patch?h=3.5-stable
parent 714774d3
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <errno.h> #include <errno.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h> #include <stdint.h>
#include <sys/stat.h>
#include "vapi/vsm.h" #include "vapi/vsm.h"
#include "vapi/vsl.h" #include "vapi/vsl.h"
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#include <math.h> #include <math.h>
#include <sys/stat.h>
#include "compat/daemon.h" #include "compat/daemon.h"
#include "vdef.h" #include "vdef.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment