void-packages/srcpkgs/varnish/patches/musl.patch

23 lines
536 B
Diff

--- a/include/vpf.h 2016-03-03 14:40:01.000000000 +0100
+++ b/include/vpf.h 2018-01-11 11:45:26.521900821 +0100
@@ -30,6 +30,8 @@
#ifndef VPF_H_INCLUDED
#define VPF_H_INCLUDED
+#include <sys/types.h>
+
struct vpf_fh;
struct vpf_fh *VPF_Open(const char *path, mode_t mode, pid_t *pidptr);
--- a/include/vsb.h 2017-11-14 14:39:22.000000000 +0100
+++ b/include/vsb.h 2018-01-11 11:48:15.505912873 +0100
@@ -31,6 +31,8 @@
#ifndef VSB_H_INCLUDED
#define VSB_H_INCLUDED
+#include <sys/types.h>
+
/*
* Structure definition
*/