ports/audio/musicpd/files/patch-src_net_DscpParser.cxx
Thomas Zander dd3766b3fc
audio/musicpd: Update to 0.24.3
This is a major upgrade to the 0.24.x branch of MPD. For most users it
is expected to just work[tm], but a lot has changed behind the scenes.
Details:
- See changelog since 0.23.17, see
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.24.3/NEWS
- The SOUNDCLOUD and YAJL OPTIONs have been retired upstream and in the
  port.
2025-04-13 21:38:35 +02:00

14 lines
303 B
C++

--- src/net/DscpParser.cxx.orig 2025-03-11 10:05:29 UTC
+++ src/net/DscpParser.cxx
@@ -9,7 +9,10 @@
#ifdef _WIN32
#include <ws2tcpip.h>
#else
-#include <netinet/ip.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
#endif
#ifndef IPTOS_DSCP_AF11