wok-next view wvstreams/stuff/patches/wvstreams-4.6.1-glibc212.patch @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents
children
line source
1 http://bugs.gentoo.org/333301
2 https://bugs.archlinux.org/task/27188
4 --- ipstreams/wvunixdgsocket.cc
5 +++ ipstreams/wvunixdgsocket.cc
6 @@ -1,5 +1,5 @@
7 #include "wvunixdgsocket.h"
8 -#ifdef MACOS
9 +#if defined(MACOS) || defined(__GNUC__)
10 #include <sys/types.h>
11 #include <sys/stat.h>
12 #endif
13 --- streams/wvatomicfile.cc
14 +++ streams/wvatomicfile.cc
15 @@ -11,7 +11,8 @@
16 #include "wvfileutils.h"
17 #include "wvstrutils.h"
19 -#ifdef MACOS
20 +#if defined(MACOS) || defined(__GNUC__)
21 +#include <sys/types.h>
22 #include <sys/stat.h>
23 #endif