[gnutls-devel] GnuTLS | <gnutls/socket.h> tries to include <sys/socket.h> on MinGW (#1382)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Jun 27 13:04:56 CEST 2022



Richard W_M_ Jones created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1382



On MinGW builds of nbdkit:

```
In file included from crypto.c:56:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/gnutls/socket.h:32:10: fatal error: sys/socket.h: No such file or directory
   32 | #include <sys/socket.h>
      |          ^~~~~~~~~~~~~~
```

This header shouldn't be included if the platform is Win32.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1382
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220627/b7b413ce/attachment.html>


More information about the Gnutls-devel mailing list