Module: kamailio Branch: master Commit: 3fd0cea891b13c4ba831a2e6d8d5620dc4106efb URL: https://github.com/kamailio/kamailio/commit/3fd0cea891b13c4ba831a2e6d8d5620dc4106efb
Author: Mikko Lehto <[email protected]> Committer: Mikko Lehto <[email protected]> Date: 2019-04-23T11:26:14+03:00 core: fix compilation error - UINT32_MAX is defined in <stdint.h> > CC (clang) [kamailio] core/tcp_main.o > core/tcp_main.c:1134:16: error: use of undeclared identifier 'UINT32_MAX' > if (port == UINT32_MAX || port == 0 || port >= (1 << > 16)) { > ^ --- Modified: src/core/tcp_main.c --- Diff: https://github.com/kamailio/kamailio/commit/3fd0cea891b13c4ba831a2e6d8d5620dc4106efb.diff Patch: https://github.com/kamailio/kamailio/commit/3fd0cea891b13c4ba831a2e6d8d5620dc4106efb.patch --- diff --git a/src/core/tcp_main.c b/src/core/tcp_main.c index 20e16606c0..85e06e9513 100644 --- a/src/core/tcp_main.c +++ b/src/core/tcp_main.c @@ -50,6 +50,7 @@ #include <sys/uio.h> /* writev*/ #include <netdb.h> #include <stdlib.h> /*exit() */ +#include <stdint.h> /* UINT32_MAX */ #include <unistd.h> _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
