Skip to content
Snippets Groups Projects
Commit 3431ed42 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Steve Lhomme
Browse files

vlc_fixups: define INET6_ADDRSTRLEN on OS/2

This fixes a compilation error on OS/2:

-----
  CC       stream_out/udp.lo
stream_out/udp.c: In function 'CreateSDP':
stream_out/udp.c:89:16: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function); did you mean 'INET_ADDRSTRLEN'?
   89 |     char dhost[INET6_ADDRSTRLEN];
      |                ^~~~~~~~~~~~~~~~
      |                INET_ADDRSTRLEN
stream_out/udp.c:89:16: note: each undeclared identifier is reported only once for each function it appears in
stream_out/udp.c:89:10: warning: unused variable 'dhost' [-Wunused-variable]
   89 |     char dhost[INET6_ADDRSTRLEN];
      |          ^~~~~
-----
parent 38ff12ee
No related branches found
No related tags found
1 merge request!2759vlc_fixups: define INET6_ADDRSTRLEN on OS/2
Pipeline #279682 passed with stage
in 29 minutes and 7 seconds