--- src/data-fd.c +++ src/data-fd.c @@ -28,6 +28,9 @@ #ifdef HAVE_SYS_TYPES_H # include #endif +#if defined HAVE_W32_SYSTEM +#include +#endif #include "debug.h" #include "data.h" --- src/gpgme-w32spawn.c +++ src/gpgme-w32spawn.c @@ -36,6 +36,7 @@ # include #endif #include +#include #include #include "priv-io.h"