daniel, thanks for your reply. i started a new thread on _GNU_SOURCE.
tcp_main.c includes io_wait.h, which in turn defines _GNU_SOURCE: #define _GNU_SOURCE /* for POLLRDHUP on linux */ _GNU_SOURCE is also included by tls module, which can be considered to be part of "core": #define _GNU_SOURCE 1 /* Needed for strndup */ is it possible to get rid of these two _GNU_SOURCE dependencies? if not, then _GNU_SOURCE version of memmem can be freely used in all modules and we can get rid of ser_memmem. --- juha _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
