[Libwebsockets] [libwebsockets] #97: lib/getifaddrs.c: In function `getifaddrs2': implicit declaration of function `lws_zalloc'

Trac trac at libwebsockets.org
Mon Jan 26 13:11:05 CET 2015


#97: lib/getifaddrs.c: In function `getifaddrs2': implicit declaration of
function `lws_zalloc'
-----------------------------------+-----------------
 Reporter:  stevenylai             |      Owner:
     Type:  defect                 |     Status:  new
 Priority:  minor                  |  Milestone:
Component:  libwebsockets library  |    Version:
 Keywords:                         |
-----------------------------------+-----------------
 I got this error while compiling libwebsockets with gcc 3.4.

 This error can be fixed by adding:

 #include "private-libwebsockets.h"

 to file: getifaddrs.c

--
Ticket URL: <http://libwebsockets.org/trac/libwebsockets/ticket/97>
libwebsockets <http://libwebsockets.org>
libwebsockets C library



More information about the Libwebsockets mailing list