[Slirp] [Git][slirp/libslirp][master] Avoid including <sys/param.h> on windows

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Sun Aug 13 14:01:31 UTC 2023



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
129077f9 by Samuel Thibault at 2023-08-13T16:01:23+02:00
Avoid including <sys/param.h> on windows

Fixes #72

- - - - -


1 changed file:

- src/ip_icmp.c


Changes:

=====================================
src/ip_icmp.c
=====================================
@@ -34,7 +34,9 @@
 #include "slirp.h"
 #include "ip_icmp.h"
 
+#ifndef _WIN32
 #include <sys/param.h>
+#endif
 
 #ifndef WITH_ICMP_ERROR_MSG
 #define WITH_ICMP_ERROR_MSG 0



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/129077f9870426d1b7b3a8239d8b5a50bee017b4

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/129077f9870426d1b7b3a8239d8b5a50bee017b4
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20230813/9dc019f0/attachment.htm>


More information about the Slirp mailing list