]> granicus.if.org Git - curl/commit
rtmp: fix for compiling with lwIP
authorGisle Vanem <gisle.vanem@gmail.com>
Mon, 22 Oct 2018 08:33:44 +0000 (10:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Oct 2018 22:04:02 +0000 (00:04 +0200)
commit639d052e4499c663a578d940713e40cd466268fa
treef0211251124110c34e5ab50d810e59cbd19044d5
parent25d287d1e5b89c276baa1676afcc8c3297e6e309
rtmp: fix for compiling with lwIP

Compiling on _WIN32 and with USE_LWIPSOCK, causes this error:
  curl_rtmp.c(223,3):  error: use of undeclared identifier 'setsockopt'
    setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO,
    ^
  curl_rtmp.c(41,32):  note: expanded from macro 'setsockopt'
  #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e)
                                 ^
Closes #3155
lib/curl_rtmp.c