1 http://bugs.gentoo.org/333301
2 https://bugs.archlinux.org/task/27188
4 --- ipstreams/wvunixdgsocket.cc
5 +++ ipstreams/wvunixdgsocket.cc
7 #include "wvunixdgsocket.h"
9 +#if defined(MACOS) || defined(__GNUC__)
10 #include <sys/types.h>
13 --- streams/wvatomicfile.cc
14 +++ streams/wvatomicfile.cc
16 #include "wvfileutils.h"
17 #include "wvstrutils.h"
20 +#if defined(MACOS) || defined(__GNUC__)
21 +#include <sys/types.h>